#[repr(transparent)]pub struct seL4_CapRights(pub Bitfield<[u32; N], u32>);
Tuple Fields§
§0: Bitfield<[u32; N], u32>
Implementations§
Source§impl seL4_CapRights
impl seL4_CapRights
pub fn new( capAllowGrantReply: u32, capAllowGrant: u32, capAllowRead: u32, capAllowWrite: u32, ) -> Self
pub fn unpack(&self) -> seL4_CapRights_Unpacked
pub fn get_capAllowGrantReply(&self) -> u32
pub fn set_capAllowGrantReply(&mut self, capAllowGrantReply: u32)
pub const fn width_of_capAllowGrantReply() -> usize
pub fn get_capAllowGrant(&self) -> u32
pub fn set_capAllowGrant(&mut self, capAllowGrant: u32)
pub const fn width_of_capAllowGrant() -> usize
pub fn get_capAllowRead(&self) -> u32
pub fn set_capAllowRead(&mut self, capAllowRead: u32)
pub const fn width_of_capAllowRead() -> usize
pub fn get_capAllowWrite(&self) -> u32
pub fn set_capAllowWrite(&mut self, capAllowWrite: u32)
pub const fn width_of_capAllowWrite() -> usize
Trait Implementations§
Source§impl Clone for seL4_CapRights
impl Clone for seL4_CapRights
Source§fn clone(&self) -> seL4_CapRights
fn clone(&self) -> seL4_CapRights
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_CapRights
impl Debug for seL4_CapRights
Source§impl PartialEq for seL4_CapRights
impl PartialEq for seL4_CapRights
impl Eq for seL4_CapRights
impl StructuralPartialEq for seL4_CapRights
Auto Trait Implementations§
impl Freeze for seL4_CapRights
impl RefUnwindSafe for seL4_CapRights
impl Send for seL4_CapRights
impl Sync for seL4_CapRights
impl Unpin for seL4_CapRights
impl UnwindSafe for seL4_CapRights
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
)