#[repr(C, align(4))]pub struct MemTxAttrs {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub unspecified: bool,
pub _reserved1: u8,
pub _reserved2: u16,
}
Fields§
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§unspecified: bool
§_reserved1: u8
§_reserved2: u16
Implementations§
Source§impl MemTxAttrs
impl MemTxAttrs
pub fn secure(&self) -> c_uint
pub fn set_secure(&mut self, val: c_uint)
pub unsafe fn secure_raw(this: *const Self) -> c_uint
pub unsafe fn set_secure_raw(this: *mut Self, val: c_uint)
pub fn space(&self) -> c_uint
pub fn set_space(&mut self, val: c_uint)
pub unsafe fn space_raw(this: *const Self) -> c_uint
pub unsafe fn set_space_raw(this: *mut Self, val: c_uint)
pub fn user(&self) -> c_uint
pub fn set_user(&mut self, val: c_uint)
pub unsafe fn user_raw(this: *const Self) -> c_uint
pub unsafe fn set_user_raw(this: *mut Self, val: c_uint)
pub fn memory(&self) -> c_uint
pub fn set_memory(&mut self, val: c_uint)
pub unsafe fn memory_raw(this: *const Self) -> c_uint
pub unsafe fn set_memory_raw(this: *mut Self, val: c_uint)
pub fn debug(&self) -> c_uint
pub fn set_debug(&mut self, val: c_uint)
pub unsafe fn debug_raw(this: *const Self) -> c_uint
pub unsafe fn set_debug_raw(this: *mut Self, val: c_uint)
pub fn requester_id(&self) -> c_uint
pub fn set_requester_id(&mut self, val: c_uint)
pub unsafe fn requester_id_raw(this: *const Self) -> c_uint
pub unsafe fn set_requester_id_raw(this: *mut Self, val: c_uint)
pub fn pid(&self) -> c_uint
pub fn set_pid(&mut self, val: c_uint)
pub unsafe fn pid_raw(this: *const Self) -> c_uint
pub unsafe fn set_pid_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( secure: c_uint, space: c_uint, user: c_uint, memory: c_uint, debug: c_uint, requester_id: c_uint, pid: c_uint, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for MemTxAttrs
impl Clone for MemTxAttrs
Source§fn clone(&self) -> MemTxAttrs
fn clone(&self) -> MemTxAttrs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemTxAttrs
impl Debug for MemTxAttrs
Source§impl Default for MemTxAttrs
impl Default for MemTxAttrs
Source§fn default() -> MemTxAttrs
fn default() -> MemTxAttrs
Returns the “default value” for a type. Read more
impl Copy for MemTxAttrs
Auto Trait Implementations§
impl Freeze for MemTxAttrs
impl RefUnwindSafe for MemTxAttrs
impl Send for MemTxAttrs
impl Sync for MemTxAttrs
impl Unpin for MemTxAttrs
impl UnwindSafe for MemTxAttrs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more