Struct sel4_sys::seL4_CNode_CapData
source · #[repr(transparent)]pub struct seL4_CNode_CapData(pub Bitfield<[u64; N], u64>);
Tuple Fields§
§0: Bitfield<[u64; N], u64>
Implementations§
source§impl seL4_CNode_CapData
impl seL4_CNode_CapData
pub fn new(guard: u64, guardSize: u64) -> Self
pub fn unpack(&self) -> seL4_CNode_CapData_Unpacked
pub fn get_guard(&self) -> u64
pub fn set_guard(&mut self, guard: u64)
pub const fn width_of_guard() -> usize
pub fn get_guardSize(&self) -> u64
pub fn set_guardSize(&mut self, guardSize: u64)
pub const fn width_of_guardSize() -> usize
Trait Implementations§
source§impl Clone for seL4_CNode_CapData
impl Clone for seL4_CNode_CapData
source§fn clone(&self) -> seL4_CNode_CapData
fn clone(&self) -> seL4_CNode_CapData
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 seL4_CNode_CapData
impl Debug for seL4_CNode_CapData
source§impl PartialEq for seL4_CNode_CapData
impl PartialEq for seL4_CNode_CapData
source§fn eq(&self, other: &seL4_CNode_CapData) -> bool
fn eq(&self, other: &seL4_CNode_CapData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.