Struct esp_idf_sys::x32k_config_t
source · [−]#[repr(C)]#[repr(align(4))]pub struct x32k_config_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: u16,
}
Fields
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
__bindgen_padding_0: u16
Implementations
sourceimpl x32k_config_t
impl x32k_config_t
pub fn dac(&self) -> u32
pub fn set_dac(&mut self, val: u32)
pub fn dres(&self) -> u32
pub fn set_dres(&mut self, val: u32)
pub fn dgm(&self) -> u32
pub fn set_dgm(&mut self, val: u32)
pub fn dbuf(&self) -> u32
pub fn set_dbuf(&mut self, val: u32)
pub fn new_bitfield_1(
dac: u32,
dres: u32,
dgm: u32,
dbuf: u32
) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations
sourceimpl Clone for x32k_config_t
impl Clone for x32k_config_t
sourcefn clone(&self) -> x32k_config_t
fn clone(&self) -> x32k_config_t
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for x32k_config_t
impl Debug for x32k_config_t
sourceimpl Default for x32k_config_t
impl Default for x32k_config_t
sourcefn default() -> x32k_config_t
fn default() -> x32k_config_t
Returns the “default value” for a type. Read more
impl Copy for x32k_config_t
Auto Trait Implementations
impl RefUnwindSafe for x32k_config_t
impl Send for x32k_config_t
impl Sync for x32k_config_t
impl Unpin for x32k_config_t
impl UnwindSafe for x32k_config_t
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more