#[repr(C, align(4))]pub struct avr_regbit_t {
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 avr_regbit_t
impl avr_regbit_t
pub fn reg(&self) -> u32
pub fn set_reg(&mut self, val: u32)
pub fn bit(&self) -> u32
pub fn set_bit(&mut self, val: u32)
pub fn mask(&self) -> u32
pub fn set_mask(&mut self, val: u32)
pub fn new_bitfield_1( reg: u32, bit: u32, mask: u32, ) -> __BindgenBitfieldUnit<[u8; 3]>
Trait Implementations§
Source§impl Clone for avr_regbit_t
impl Clone for avr_regbit_t
Source§fn clone(&self) -> avr_regbit_t
fn clone(&self) -> avr_regbit_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_regbit_t
impl Debug for avr_regbit_t
impl Copy for avr_regbit_t
Auto Trait Implementations§
impl Freeze for avr_regbit_t
impl RefUnwindSafe for avr_regbit_t
impl Send for avr_regbit_t
impl Sync for avr_regbit_t
impl Unpin for avr_regbit_t
impl UnwindSafe for avr_regbit_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