Enum bosch_bme680::Oversampling
source · pub enum Oversampling {
Skipped,
By1,
By2,
By4,
By8,
By16,
}Expand description
Oversampling settings for temperature, humidity, pressure. Skipping means no measurment will be taken, which is not recommended for the temperature as it’s needed to calculate the adjusted values for hummidiy and pressure.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for Oversampling
impl Clone for Oversampling
source§fn clone(&self) -> Oversampling
fn clone(&self) -> Oversampling
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Oversampling
impl Debug for Oversampling
source§impl From<Oversampling> for u8
impl From<Oversampling> for u8
source§fn from(value: Oversampling) -> Self
fn from(value: Oversampling) -> Self
Converts to this type from the input type.
source§impl From<u8> for Oversampling
impl From<u8> for Oversampling
source§impl PartialEq<Oversampling> for Oversampling
impl PartialEq<Oversampling> for Oversampling
source§fn eq(&self, other: &Oversampling) -> bool
fn eq(&self, other: &Oversampling) -> bool
This method tests for
self and other values to be equal, and is used
by ==.