Struct sel4::AbsoluteCPtr
source · pub struct AbsoluteCPtr<C = NoExplicitInvocationContext> { /* private fields */ }
Expand description
A CPtrWithDepth
in a particular CNode
.
Implementations§
source§impl<C> AbsoluteCPtr<C>
impl<C> AbsoluteCPtr<C>
pub const fn root(&self) -> &CNode<C>
pub fn into_root(self) -> CNode<C>
pub const fn path(&self) -> &CPtrWithDepth
pub fn with<C1>(self, context: C1) -> AbsoluteCPtr<C1>
pub fn without_context(self) -> AbsoluteCPtr
source§impl<C: InvocationContext> AbsoluteCPtr<C>
impl<C: InvocationContext> AbsoluteCPtr<C>
sourcepub fn copy(self, src: &AbsoluteCPtr, rights: CapRights) -> Result<()>
pub fn copy(self, src: &AbsoluteCPtr, rights: CapRights) -> Result<()>
Corresponds to seL4_CNode_Copy
.
sourcepub fn mint(
self,
src: &AbsoluteCPtr,
rights: CapRights,
badge: Word
) -> Result<()>
pub fn mint( self, src: &AbsoluteCPtr, rights: CapRights, badge: Word ) -> Result<()>
Corresponds to seL4_CNode_Mint
.
sourcepub fn move_(self, src: &AbsoluteCPtr) -> Result<()>
pub fn move_(self, src: &AbsoluteCPtr) -> Result<()>
Corresponds to seL4_CNode_Move
.
sourcepub fn mutate(self, src: &AbsoluteCPtr, badge: Word) -> Result<()>
pub fn mutate(self, src: &AbsoluteCPtr, badge: Word) -> Result<()>
Corresponds to seL4_CNode_Mutate
.
Trait Implementations§
source§impl<C: Clone> Clone for AbsoluteCPtr<C>
impl<C: Clone> Clone for AbsoluteCPtr<C>
source§fn clone(&self) -> AbsoluteCPtr<C>
fn clone(&self) -> AbsoluteCPtr<C>
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<C: Debug> Debug for AbsoluteCPtr<C>
impl<C: Debug> Debug for AbsoluteCPtr<C>
source§impl<C: PartialEq> PartialEq for AbsoluteCPtr<C>
impl<C: PartialEq> PartialEq for AbsoluteCPtr<C>
source§fn eq(&self, other: &AbsoluteCPtr<C>) -> bool
fn eq(&self, other: &AbsoluteCPtr<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.