Enum sel4::FrameObjectType
source · pub enum FrameObjectType {
SmallPage,
LargePage,
HugePage,
}
Expand description
Frame sizes for AArch64.
Variants§
Implementations§
source§impl FrameObjectType
impl FrameObjectType
pub const GRANULE: Self = Self::SmallPage
pub const fn blueprint(self) -> ObjectBlueprint
pub const fn from_bits(bits: usize) -> Option<Self>
pub const SMALL_PAGE_BITS: usize = 12usize
pub const LARGE_PAGE_BITS: usize = 21usize
pub const HUGE_PAGE_BITS: usize = 30usize
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
source§fn eq(&self, other: &FrameObjectType) -> bool
fn eq(&self, other: &FrameObjectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.