pub enum Sample {
Off = 0,
Once = 1,
X2 = 2,
X4 = 3,
X8 = 4,
X16 = 5,
}
Expand description
Oversampling setting
Variants§
Off = 0
Switch off measurements
Once = 1
Perform 1 measurement
X2 = 2
Perform 2 measurements
X4 = 3
Perform 4 measurements
X8 = 4
Perform 8 measurements
X16 = 5
Perform 16 measurements
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
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