#[repr(C)]pub struct FuriHalI2cBus {
pub i2c: *mut I2C_TypeDef,
pub current_handle: *const FuriHalI2cBusHandle,
pub callback: FuriHalI2cBusEventCallback,
}Expand description
FuriHal i2c bus
Fields§
§i2c: *mut I2C_TypeDef§current_handle: *const FuriHalI2cBusHandle§callback: FuriHalI2cBusEventCallbackTrait Implementations§
Source§impl Clone for FuriHalI2cBus
impl Clone for FuriHalI2cBus
Source§fn clone(&self) -> FuriHalI2cBus
fn clone(&self) -> FuriHalI2cBus
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 FuriHalI2cBus
impl Debug for FuriHalI2cBus
impl Copy for FuriHalI2cBus
Auto Trait Implementations§
impl Freeze for FuriHalI2cBus
impl RefUnwindSafe for FuriHalI2cBus
impl !Send for FuriHalI2cBus
impl !Sync for FuriHalI2cBus
impl Unpin for FuriHalI2cBus
impl UnwindSafe for FuriHalI2cBus
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