Struct panda_sys::MemTxAttrs
source · #[repr(C, align(4))]pub struct MemTxAttrs {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>,
}
Fields§
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>
Implementations§
source§impl MemTxAttrs
impl MemTxAttrs
pub fn unspecified(&self) -> c_uint
pub fn set_unspecified(&mut self, val: c_uint)
pub fn secure(&self) -> c_uint
pub fn set_secure(&mut self, val: c_uint)
pub fn user(&self) -> c_uint
pub fn set_user(&mut self, val: c_uint)
pub fn requester_id(&self) -> c_uint
pub fn set_requester_id(&mut self, val: c_uint)
pub fn new_bitfield_1( unspecified: c_uint, secure: c_uint, user: c_uint, requester_id: c_uint ) -> __BindgenBitfieldUnit<[u8; 3]>
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
impl Copy for MemTxAttrs
Auto Trait Implementations§
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