#[repr(transparent)]pub struct seL4_CapRights(pub Bitfield<[u64; N], u64>);
Tuple Fields§
§0: Bitfield<[u64; N], u64>
Implementations§
Source§impl seL4_CapRights
impl seL4_CapRights
pub fn new( capAllowGrantReply: u64, capAllowGrant: u64, capAllowRead: u64, capAllowWrite: u64, ) -> Self
pub fn unpack(&self) -> seL4_CapRights_Unpacked
pub fn get_capAllowGrantReply(&self) -> u64
pub fn set_capAllowGrantReply(&mut self, capAllowGrantReply: u64)
pub const fn width_of_capAllowGrantReply() -> usize
pub fn get_capAllowGrant(&self) -> u64
pub fn set_capAllowGrant(&mut self, capAllowGrant: u64)
pub const fn width_of_capAllowGrant() -> usize
pub fn get_capAllowRead(&self) -> u64
pub fn set_capAllowRead(&mut self, capAllowRead: u64)
pub const fn width_of_capAllowRead() -> usize
pub fn get_capAllowWrite(&self) -> u64
pub fn set_capAllowWrite(&mut self, capAllowWrite: u64)
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
)