Enum bme280_rs::Oversampling
source · pub enum Oversampling {
Skip,
Oversample1,
Oversample2,
Oversample4,
Oversample8,
Oversample16,
}Expand description
Oversampling setting
Variants§
Skip
Skip the measurement altogether
Oversample1
Take a single sample
Oversample2
Take two samples
Oversample4
Take four samples
Oversample8
Take eight samples
Oversample16
Take sixteen samples
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 Default for Oversampling
impl Default for Oversampling
source§impl PartialEq for Oversampling
impl PartialEq 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 ==.impl Copy for Oversampling
impl Eq for Oversampling
impl StructuralPartialEq for Oversampling
Auto Trait Implementations§
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