pub enum OversamplingIndex {
Samples50 = 0,
Samples20 = 1,
Samples10 = 2,
Samples5 = 3,
Samples2 = 4,
Samples1 = 5,
}Expand description
Oversampling index for Osci2T
Variants§
Trait Implementations§
Source§impl Clone for OversamplingIndex
impl Clone for OversamplingIndex
Source§fn clone(&self) -> OversamplingIndex
fn clone(&self) -> OversamplingIndex
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 OversamplingIndex
impl Debug for OversamplingIndex
Source§impl From<OversamplingIndex> for u16
impl From<OversamplingIndex> for u16
Source§fn from(index: OversamplingIndex) -> Self
fn from(index: OversamplingIndex) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OversamplingIndex
impl PartialEq for OversamplingIndex
Source§impl TryFrom<u16> for OversamplingIndex
impl TryFrom<u16> for OversamplingIndex
impl Copy for OversamplingIndex
impl Eq for OversamplingIndex
impl StructuralPartialEq for OversamplingIndex
Auto Trait Implementations§
impl Freeze for OversamplingIndex
impl RefUnwindSafe for OversamplingIndex
impl Send for OversamplingIndex
impl Sync for OversamplingIndex
impl Unpin for OversamplingIndex
impl UnwindSafe for OversamplingIndex
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