Struct capsules_extra::hts221::Hts221
source · pub struct Hts221<'a, I: I2CDevice> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a, I: I2CDevice> HumidityDriver<'a> for Hts221<'a, I>
impl<'a, I: I2CDevice> HumidityDriver<'a> for Hts221<'a, I>
fn set_client(&self, client: &'a dyn HumidityClient)
fn read_humidity(&self) -> Result<(), ErrorCode>
source§impl<'a, I: I2CDevice> TemperatureDriver<'a> for Hts221<'a, I>
impl<'a, I: I2CDevice> TemperatureDriver<'a> for Hts221<'a, I>
fn set_client(&self, client: &'a dyn TemperatureClient)
fn read_temperature(&self) -> Result<(), ErrorCode>
Auto Trait Implementations§
impl<'a, I> !Freeze for Hts221<'a, I>
impl<'a, I> !RefUnwindSafe for Hts221<'a, I>
impl<'a, I> !Send for Hts221<'a, I>
impl<'a, I> !Sync for Hts221<'a, I>
impl<'a, I> Unpin for Hts221<'a, I>
impl<'a, I> !UnwindSafe for Hts221<'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