#[repr(C, align(4))]pub struct avr_twi_msg_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
Source§impl avr_twi_msg_t
impl avr_twi_msg_t
pub fn unused(&self) -> u32
pub fn set_unused(&mut self, val: u32)
pub fn msg(&self) -> u32
pub fn set_msg(&mut self, val: u32)
pub fn addr(&self) -> u32
pub fn set_addr(&mut self, val: u32)
pub fn data(&self) -> u32
pub fn set_data(&mut self, val: u32)
pub fn new_bitfield_1( unused: u32, msg: u32, addr: u32, data: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for avr_twi_msg_t
impl Clone for avr_twi_msg_t
Source§fn clone(&self) -> avr_twi_msg_t
fn clone(&self) -> avr_twi_msg_t
Returns a duplicate 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 avr_twi_msg_t
impl Debug for avr_twi_msg_t
impl Copy for avr_twi_msg_t
Auto Trait Implementations§
impl Freeze for avr_twi_msg_t
impl RefUnwindSafe for avr_twi_msg_t
impl Send for avr_twi_msg_t
impl Sync for avr_twi_msg_t
impl Unpin for avr_twi_msg_t
impl UnwindSafe for avr_twi_msg_t
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