#[repr(u8)]pub enum Oversampling {
Skipped = 0,
X1 = 1,
X2 = 2,
X4 = 3,
X8 = 4,
X16 = 5,
}Expand description
Oversampling settings for Temperature, Pressure, and Humidity.
Higher oversampling rates increase accuracy but lead to longer measurement times.
Variants§
Skipped = 0
No measurement performed.
X1 = 1
1x Oversampling.
X2 = 2
2x Oversampling.
X4 = 3
4x Oversampling.
X8 = 4
8x Oversampling.
X16 = 5
16x Oversampling.
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
impl Copy 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