Struct sel4_sys::seL4_MessageInfo
source · #[repr(transparent)]pub struct seL4_MessageInfo(pub Bitfield<[u64; N], u64>);
Tuple Fields§
§0: Bitfield<[u64; N], u64>
Implementations§
source§impl seL4_MessageInfo
impl seL4_MessageInfo
pub fn new(label: u64, capsUnwrapped: u64, extraCaps: u64, length: u64) -> Self
pub fn unpack(&self) -> seL4_MessageInfo_Unpacked
pub fn get_label(&self) -> u64
pub fn set_label(&mut self, label: u64)
pub const fn width_of_label() -> usize
pub fn get_capsUnwrapped(&self) -> u64
pub fn set_capsUnwrapped(&mut self, capsUnwrapped: u64)
pub const fn width_of_capsUnwrapped() -> usize
pub fn get_extraCaps(&self) -> u64
pub fn set_extraCaps(&mut self, extraCaps: u64)
pub const fn width_of_extraCaps() -> usize
pub fn get_length(&self) -> u64
pub fn set_length(&mut self, length: u64)
pub const fn width_of_length() -> usize
Trait Implementations§
source§impl Clone for seL4_MessageInfo
impl Clone for seL4_MessageInfo
source§fn clone(&self) -> seL4_MessageInfo
fn clone(&self) -> seL4_MessageInfo
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_MessageInfo
impl Debug for seL4_MessageInfo
source§impl PartialEq for seL4_MessageInfo
impl PartialEq for seL4_MessageInfo
source§fn eq(&self, other: &seL4_MessageInfo) -> bool
fn eq(&self, other: &seL4_MessageInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.