pub enum SpecificLocation {
Aligned(NonZero<u32>),
At(Frame),
Below {
location: Frame,
with_alignment: NonZero<u32>,
},
}
🔬This is a nightly-only experimental API. (
kernel_physical_allocator_location
)Variants§
Aligned(NonZero<u32>)
🔬This is a nightly-only experimental API. (
kernel_physical_allocator_location
)The mapping must be aligned to a specific number of Frame
s
At(Frame)
🔬This is a nightly-only experimental API. (
kernel_physical_allocator_location
)The mapping will fail if it cannot be allocated at this exact location
Below
🔬This is a nightly-only experimental API. (
kernel_physical_allocator_location
)The mapping must be below this location, aligned to with_alignment
number of Frame
s
Auto Trait Implementations§
impl Freeze for SpecificLocation
impl RefUnwindSafe for SpecificLocation
impl Send for SpecificLocation
impl Sync for SpecificLocation
impl Unpin for SpecificLocation
impl UnwindSafe for SpecificLocation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more