Struct capsules_extra::max17205::MAX17205
source · pub struct MAX17205<'a, I: I2CDevice> { /* private fields */ }
Implementations§
source§impl<'a, I: I2CDevice> MAX17205<'a, I>
impl<'a, I: I2CDevice> MAX17205<'a, I>
pub fn new( i2c_lower: &'a I, i2c_upper: &'a I, buffer: &'static mut [u8], ) -> MAX17205<'a, I>
pub fn set_client<C: MAX17205Client>(&self, client: &'static C)
Trait Implementations§
Auto Trait Implementations§
impl<'a, I> !Freeze for MAX17205<'a, I>
impl<'a, I> !RefUnwindSafe for MAX17205<'a, I>
impl<'a, I> !Send for MAX17205<'a, I>
impl<'a, I> !Sync for MAX17205<'a, I>
impl<'a, I> Unpin for MAX17205<'a, I>
impl<'a, I> !UnwindSafe for MAX17205<'a, I>
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