Struct sel4_sys::seL4_CapRights
source · #[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
source§fn eq(&self, other: &seL4_CapRights) -> bool
fn eq(&self, other: &seL4_CapRights) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.