Struct capsules_extra::ccs811::Ccs811
source · pub struct Ccs811<'a> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a> AirQualityDriver<'a> for Ccs811<'a>
impl<'a> AirQualityDriver<'a> for Ccs811<'a>
source§fn set_client(&self, client: &'a dyn AirQualityClient)
fn set_client(&self, client: &'a dyn AirQualityClient)
Set the client to be notified when the capsule has data ready.
source§fn specify_environment(
&self,
temp: Option<i32>,
humidity: Option<u32>,
) -> Result<(), ErrorCode>
fn specify_environment( &self, temp: Option<i32>, humidity: Option<u32>, ) -> Result<(), ErrorCode>
Specify the temperature and humidity used in calculating the air
quality. Read more
source§impl<'a> DeferredCallClient for Ccs811<'a>
impl<'a> DeferredCallClient for Ccs811<'a>
Auto Trait Implementations§
impl<'a> !Freeze for Ccs811<'a>
impl<'a> !RefUnwindSafe for Ccs811<'a>
impl<'a> !Send for Ccs811<'a>
impl<'a> !Sync for Ccs811<'a>
impl<'a> Unpin for Ccs811<'a>
impl<'a> !UnwindSafe for Ccs811<'a>
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