#[repr(transparent)]pub struct seL4_CNode_CapData(pub Bitfield<[u32; N], u32>);
Tuple Fields§
§0: Bitfield<[u32; N], u32>
Implementations§
Source§impl seL4_CNode_CapData
impl seL4_CNode_CapData
pub fn new(guard: u32, guardSize: u32) -> Self
pub fn unpack(&self) -> seL4_CNode_CapData_Unpacked
pub fn get_guard(&self) -> u32
pub fn set_guard(&mut self, guard: u32)
pub const fn width_of_guard() -> usize
pub fn get_guardSize(&self) -> u32
pub fn set_guardSize(&mut self, guardSize: u32)
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
impl Eq for seL4_CNode_CapData
impl StructuralPartialEq for seL4_CNode_CapData
Auto Trait Implementations§
impl Freeze for seL4_CNode_CapData
impl RefUnwindSafe for seL4_CNode_CapData
impl Send for seL4_CNode_CapData
impl Sync for seL4_CNode_CapData
impl Unpin for seL4_CNode_CapData
impl UnwindSafe for seL4_CNode_CapData
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
)