#[repr(u8)]pub enum Cmdl10Mode {
DATA_12_BITS = 0,
DATA_16_BITS = 1,
}Variants§
DATA_12_BITS = 0
Standard resolution. Single-ended 12-bit conversion; differential 13-bit conversion with 2’s complement output.
DATA_16_BITS = 1
High resolution. Single-ended 16-bit conversion; differential 16-bit conversion with 2’s complement output.
Implementations§
Source§impl Cmdl10Mode
impl Cmdl10Mode
Trait Implementations§
Source§impl Clone for Cmdl10Mode
impl Clone for Cmdl10Mode
Source§fn clone(&self) -> Cmdl10Mode
fn clone(&self) -> Cmdl10Mode
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 Cmdl10Mode
impl Debug for Cmdl10Mode
Source§impl From<Cmdl10Mode> for u8
impl From<Cmdl10Mode> for u8
Source§fn from(val: Cmdl10Mode) -> u8
fn from(val: Cmdl10Mode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Cmdl10Mode
impl From<u8> for Cmdl10Mode
Source§fn from(val: u8) -> Cmdl10Mode
fn from(val: u8) -> Cmdl10Mode
Converts to this type from the input type.
Source§impl Ord for Cmdl10Mode
impl Ord for Cmdl10Mode
Source§fn cmp(&self, other: &Cmdl10Mode) -> Ordering
fn cmp(&self, other: &Cmdl10Mode) -> 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 Cmdl10Mode
impl PartialEq for Cmdl10Mode
Source§impl PartialOrd for Cmdl10Mode
impl PartialOrd for Cmdl10Mode
impl Copy for Cmdl10Mode
impl Eq for Cmdl10Mode
impl StructuralPartialEq for Cmdl10Mode
Auto Trait Implementations§
impl Freeze for Cmdl10Mode
impl RefUnwindSafe for Cmdl10Mode
impl Send for Cmdl10Mode
impl Sync for Cmdl10Mode
impl Unpin for Cmdl10Mode
impl UnwindSafe for Cmdl10Mode
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