Struct esp_idf_svc::hal::sys::i2c_master_bus_config_t__bindgen_ty_1
source · #[repr(C, align(4))]pub struct i2c_master_bus_config_t__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
source§impl i2c_master_bus_config_t__bindgen_ty_1
impl i2c_master_bus_config_t__bindgen_ty_1
pub fn enable_internal_pullup(&self) -> u32
pub fn set_enable_internal_pullup(&mut self, val: u32)
pub fn new_bitfield_1( enable_internal_pullup: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for i2c_master_bus_config_t__bindgen_ty_1
impl Clone for i2c_master_bus_config_t__bindgen_ty_1
source§fn clone(&self) -> i2c_master_bus_config_t__bindgen_ty_1
fn clone(&self) -> i2c_master_bus_config_t__bindgen_ty_1
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for i2c_master_bus_config_t__bindgen_ty_1
impl Debug for i2c_master_bus_config_t__bindgen_ty_1
source§impl Default for i2c_master_bus_config_t__bindgen_ty_1
impl Default for i2c_master_bus_config_t__bindgen_ty_1
source§fn default() -> i2c_master_bus_config_t__bindgen_ty_1
fn default() -> i2c_master_bus_config_t__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for i2c_master_bus_config_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for i2c_master_bus_config_t__bindgen_ty_1
impl RefUnwindSafe for i2c_master_bus_config_t__bindgen_ty_1
impl Send for i2c_master_bus_config_t__bindgen_ty_1
impl Sync for i2c_master_bus_config_t__bindgen_ty_1
impl Unpin for i2c_master_bus_config_t__bindgen_ty_1
impl UnwindSafe for i2c_master_bus_config_t__bindgen_ty_1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)