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