pub enum FrameObjectType {
SmallPage,
LargePage,
Section,
}
Expand description
Frame object types for this kernel configuration.
Variants§
Implementations§
Source§impl FrameObjectType
impl FrameObjectType
pub const GRANULE: Self = Self::SmallPage
pub const SMALL_PAGE_BITS: usize = 12usize
pub const LARGE_PAGE_BITS: usize = 16usize
pub const SECTION_BITS: usize = 20usize
pub const fn blueprint(self) -> ObjectBlueprint
pub const fn from_bits(bits: usize) -> Option<Self>
Trait Implementations§
Source§impl Clone for FrameObjectType
impl Clone for FrameObjectType
Source§fn clone(&self) -> FrameObjectType
fn clone(&self) -> FrameObjectType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FrameObjectType
impl Debug for FrameObjectType
Source§impl PartialEq for FrameObjectType
impl PartialEq for FrameObjectType
impl Copy for FrameObjectType
impl Eq for FrameObjectType
impl StructuralPartialEq for FrameObjectType
Auto Trait Implementations§
impl Freeze for FrameObjectType
impl RefUnwindSafe for FrameObjectType
impl Send for FrameObjectType
impl Sync for FrameObjectType
impl Unpin for FrameObjectType
impl UnwindSafe for FrameObjectType
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)