#[repr(u8)]pub enum Cmdl13Mode {
MODE_0 = 0,
MODE_1 = 1,
}Variants§
MODE_0 = 0
Standard resolution. Single-ended 12-bit conversion; Differential 13-bit conversion with 2’s complement output.
MODE_1 = 1
High resolution. Single-ended 16-bit conversion; Differential 16-bit conversion with 2’s complement output.
Implementations§
Source§impl Cmdl13Mode
impl Cmdl13Mode
Trait Implementations§
Source§impl Clone for Cmdl13Mode
impl Clone for Cmdl13Mode
Source§fn clone(&self) -> Cmdl13Mode
fn clone(&self) -> Cmdl13Mode
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 Cmdl13Mode
impl Debug for Cmdl13Mode
Source§impl From<Cmdl13Mode> for u8
impl From<Cmdl13Mode> for u8
Source§fn from(val: Cmdl13Mode) -> u8
fn from(val: Cmdl13Mode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Cmdl13Mode
impl From<u8> for Cmdl13Mode
Source§fn from(val: u8) -> Cmdl13Mode
fn from(val: u8) -> Cmdl13Mode
Converts to this type from the input type.
Source§impl Ord for Cmdl13Mode
impl Ord for Cmdl13Mode
Source§fn cmp(&self, other: &Cmdl13Mode) -> Ordering
fn cmp(&self, other: &Cmdl13Mode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Cmdl13Mode
impl PartialEq for Cmdl13Mode
Source§impl PartialOrd for Cmdl13Mode
impl PartialOrd for Cmdl13Mode
impl Copy for Cmdl13Mode
impl Eq for Cmdl13Mode
impl StructuralPartialEq for Cmdl13Mode
Auto Trait Implementations§
impl Freeze for Cmdl13Mode
impl RefUnwindSafe for Cmdl13Mode
impl Send for Cmdl13Mode
impl Sync for Cmdl13Mode
impl Unpin for Cmdl13Mode
impl UnwindSafe for Cmdl13Mode
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