pub enum Oversampling {
Skipped,
By1,
By2,
By4,
By8,
By16,
}Expand description
Oversampling settings for temperature, humidity, pressure. Skipping means no measurement will be taken, which is not recommended for the temperature as it’s needed to calculate the adjusted values for humidity 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 duplicate 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 for Oversampling
impl PartialEq for Oversampling
impl Eq for Oversampling
impl StructuralPartialEq for Oversampling
Auto Trait Implementations§
impl Freeze for Oversampling
impl RefUnwindSafe for Oversampling
impl Send for Oversampling
impl Sync for Oversampling
impl Unpin for Oversampling
impl UnwindSafe for Oversampling
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