#[repr(u8)]pub enum Cmdl5Ctype {
CTYPE_0 = 0,
CTYPE_1 = 1,
CTYPE_2 = 2,
CTYPE_3 = 3,
}Variants§
CTYPE_0 = 0
Single-Ended Mode. Only A side channel is converted.
CTYPE_1 = 1
Single-Ended Mode. Only B side channel is converted.
CTYPE_2 = 2
Differential Mode. A-B.
CTYPE_3 = 3
Dual-Single-Ended Mode. Both A side and B side channels are converted independently.
Implementations§
Source§impl Cmdl5Ctype
impl Cmdl5Ctype
Trait Implementations§
Source§impl Clone for Cmdl5Ctype
impl Clone for Cmdl5Ctype
Source§fn clone(&self) -> Cmdl5Ctype
fn clone(&self) -> Cmdl5Ctype
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 Cmdl5Ctype
impl Debug for Cmdl5Ctype
Source§impl From<Cmdl5Ctype> for u8
impl From<Cmdl5Ctype> for u8
Source§fn from(val: Cmdl5Ctype) -> u8
fn from(val: Cmdl5Ctype) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Cmdl5Ctype
impl From<u8> for Cmdl5Ctype
Source§fn from(val: u8) -> Cmdl5Ctype
fn from(val: u8) -> Cmdl5Ctype
Converts to this type from the input type.
Source§impl Ord for Cmdl5Ctype
impl Ord for Cmdl5Ctype
Source§fn cmp(&self, other: &Cmdl5Ctype) -> Ordering
fn cmp(&self, other: &Cmdl5Ctype) -> 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 Cmdl5Ctype
impl PartialEq for Cmdl5Ctype
Source§impl PartialOrd for Cmdl5Ctype
impl PartialOrd for Cmdl5Ctype
impl Copy for Cmdl5Ctype
impl Eq for Cmdl5Ctype
impl StructuralPartialEq for Cmdl5Ctype
Auto Trait Implementations§
impl Freeze for Cmdl5Ctype
impl RefUnwindSafe for Cmdl5Ctype
impl Send for Cmdl5Ctype
impl Sync for Cmdl5Ctype
impl Unpin for Cmdl5Ctype
impl UnwindSafe for Cmdl5Ctype
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