Struct sel4::UserContext
source · 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 spsr(&self) -> &Word
pub fn spsr_mut(&mut self) -> &mut Word
pub fn gpr(&self, ix: usize) -> &Word
pub fn gpr_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