Enum sel4_common::object::ObjectType
source · pub enum ObjectType {
UnytpedObject,
TCBObject,
EndpointObject,
NotificationObject,
CapTableObject,
GigaPageObject,
NormalPageObject,
MegaPageObject,
PageTableObject,
}
Variants§
UnytpedObject
TCBObject
EndpointObject
NotificationObject
CapTableObject
GigaPageObject
NormalPageObject
MegaPageObject
PageTableObject
Implementations§
source§impl ObjectType
impl ObjectType
pub fn get_object_size(&self, user_object_size: usize) -> usize
pub fn get_frame_type(&self) -> usize
pub fn from_usize(value: usize) -> Option<Self>
pub fn is_arch_type(self) -> bool
Trait Implementations§
source§impl Clone for ObjectType
impl Clone for ObjectType
source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectType
impl Debug for ObjectType
source§impl PartialEq<ObjectType> for ObjectType
impl PartialEq<ObjectType> for ObjectType
source§fn eq(&self, other: &ObjectType) -> bool
fn eq(&self, other: &ObjectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectType> for ObjectType
impl PartialOrd<ObjectType> for ObjectType
source§fn partial_cmp(&self, other: &ObjectType) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more