Struct flipperzero_sys::FuriHalI2cBus
source · [−]#[repr(C)]pub struct FuriHalI2cBus {
pub i2c: *mut I2C_TypeDef,
pub current_handle: *mut FuriHalI2cBusHandle,
pub callback: FuriHalI2cBusEventCallback,
}Expand description
FuriHal i2c bus
Fields
i2c: *mut I2C_TypeDefcurrent_handle: *mut FuriHalI2cBusHandlecallback: FuriHalI2cBusEventCallbackTrait Implementations
sourceimpl Clone for FuriHalI2cBus
impl Clone for FuriHalI2cBus
sourcefn clone(&self) -> FuriHalI2cBus
fn clone(&self) -> FuriHalI2cBus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FuriHalI2cBus
impl Debug for FuriHalI2cBus
impl Copy for FuriHalI2cBus
Auto Trait Implementations
impl RefUnwindSafe for FuriHalI2cBus
impl !Send for FuriHalI2cBus
impl !Sync for FuriHalI2cBus
impl Unpin for FuriHalI2cBus
impl UnwindSafe for FuriHalI2cBus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more