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 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 Default for Oversampling
impl Default for Oversampling
Source§fn default() -> Oversampling
fn default() -> Oversampling
Returns the “default value” for a type. Read more
Source§impl PartialEq for Oversampling
impl PartialEq for Oversampling
impl Copy 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 UnsafeUnpin 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