#[repr(C, align(4))]pub struct avr_timer_wgm_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_timer_wgm_t
impl avr_timer_wgm_t
pub fn top(&self) -> u32
pub fn set_top(&mut self, val: u32)
pub fn bottom(&self) -> u32
pub fn set_bottom(&mut self, val: u32)
pub fn size(&self) -> u32
pub fn set_size(&mut self, val: u32)
pub fn kind(&self) -> u32
pub fn set_kind(&mut self, val: u32)
pub fn new_bitfield_1( top: u32, bottom: u32, size: u32, kind: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for avr_timer_wgm_t
impl Clone for avr_timer_wgm_t
Source§fn clone(&self) -> avr_timer_wgm_t
fn clone(&self) -> avr_timer_wgm_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_timer_wgm_t
impl Debug for avr_timer_wgm_t
impl Copy for avr_timer_wgm_t
Auto Trait Implementations§
impl Freeze for avr_timer_wgm_t
impl RefUnwindSafe for avr_timer_wgm_t
impl Send for avr_timer_wgm_t
impl Sync for avr_timer_wgm_t
impl Unpin for avr_timer_wgm_t
impl UnwindSafe for avr_timer_wgm_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