struct AccelClient {
state: Cell<AccelClientState>,
i2c_master: &'static dyn I2CMaster<'static>,
}
Fields§
§state: Cell<AccelClientState>
§i2c_master: &'static dyn I2CMaster<'static>
Implementations§
Trait Implementations§
Source§impl I2CHwMasterClient for AccelClient
impl I2CHwMasterClient for AccelClient
Auto Trait Implementations§
impl !Freeze for AccelClient
impl !RefUnwindSafe for AccelClient
impl !Send for AccelClient
impl !Sync for AccelClient
impl Unpin for AccelClient
impl !UnwindSafe for AccelClient
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