pub struct CapRights(/* private fields */);
Expand description
Corresponds to seL4_CapRights_t
.
Implementations§
source§impl CapRights
impl CapRights
pub const fn from_inner(inner: seL4_CapRights) -> Self
pub const fn into_inner(self) -> seL4_CapRights
pub const fn inner(&self) -> &seL4_CapRights
pub fn inner_mut(&mut self) -> &mut seL4_CapRights
pub fn new(grant_reply: bool, grant: bool, read: bool, write: bool) -> Self
pub fn none() -> Self
pub fn all() -> Self
pub fn read_write() -> Self
pub fn read_only() -> Self
pub fn write_only() -> Self
Trait Implementations§
source§impl From<CapRightsBuilder> for CapRights
impl From<CapRightsBuilder> for CapRights
source§fn from(builder: CapRightsBuilder) -> Self
fn from(builder: CapRightsBuilder) -> Self
Converts to this type from the input type.