pub struct UserContext(/* private fields */);
Expand description
Corresponds to seL4_UserContext
.
Implementations§
Source§impl UserContext
impl UserContext
pub const fn from_inner(inner: seL4_UserContext) -> Self
pub const fn into_inner(self) -> seL4_UserContext
pub const fn inner(&self) -> &seL4_UserContext
pub fn inner_mut(&mut self) -> &mut seL4_UserContext
pub fn pc(&self) -> &Word
pub fn pc_mut(&mut self) -> &mut Word
pub fn sp(&self) -> &Word
pub fn sp_mut(&mut self) -> &mut Word
pub fn gpr_a(&self, ix: usize) -> &Word
pub fn gpr_a_mut(&mut self, ix: usize) -> &mut Word
pub fn c_param(&self, ix: usize) -> &Word
pub fn c_param_mut(&mut self, ix: usize) -> &mut Word
Trait Implementations§
Source§impl Clone for UserContext
impl Clone for UserContext
Source§fn clone(&self) -> UserContext
fn clone(&self) -> UserContext
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 UserContext
impl Debug for UserContext
Source§impl Default for UserContext
impl Default for UserContext
Source§fn default() -> UserContext
fn default() -> UserContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for UserContext
impl PartialEq for UserContext
impl Eq for UserContext
impl StructuralPartialEq for UserContext
Auto Trait Implementations§
impl Freeze for UserContext
impl RefUnwindSafe for UserContext
impl Send for UserContext
impl Sync for UserContext
impl Unpin for UserContext
impl UnwindSafe for UserContext
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
)