#[repr(C, align(8))]pub struct avr_adc_mux_t {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_0: u32,
}
Fields§
§_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§__bindgen_padding_0: u32
Implementations§
Source§impl avr_adc_mux_t
impl avr_adc_mux_t
pub fn kind(&self) -> c_ulong
pub fn set_kind(&mut self, val: c_ulong)
pub fn gain(&self) -> c_ulong
pub fn set_gain(&mut self, val: c_ulong)
pub fn diff(&self) -> c_ulong
pub fn set_diff(&mut self, val: c_ulong)
pub fn src(&self) -> c_ulong
pub fn set_src(&mut self, val: c_ulong)
pub fn new_bitfield_1( kind: c_ulong, gain: c_ulong, diff: c_ulong, src: c_ulong, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for avr_adc_mux_t
impl Clone for avr_adc_mux_t
Source§fn clone(&self) -> avr_adc_mux_t
fn clone(&self) -> avr_adc_mux_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_adc_mux_t
impl Debug for avr_adc_mux_t
impl Copy for avr_adc_mux_t
Auto Trait Implementations§
impl Freeze for avr_adc_mux_t
impl RefUnwindSafe for avr_adc_mux_t
impl Send for avr_adc_mux_t
impl Sync for avr_adc_mux_t
impl Unpin for avr_adc_mux_t
impl UnwindSafe for avr_adc_mux_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