#[repr(u8)]pub enum CmdlCscale {
CSCALE_0 = 0,
CSCALE_1 = 1,
}Variants§
CSCALE_0 = 0
Scale selected analog channel (Factor of 30/64)
CSCALE_1 = 1
(Default) Full scale (Factor of 1)
Implementations§
Source§impl CmdlCscale
impl CmdlCscale
Trait Implementations§
Source§impl Clone for CmdlCscale
impl Clone for CmdlCscale
Source§fn clone(&self) -> CmdlCscale
fn clone(&self) -> CmdlCscale
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 CmdlCscale
impl Debug for CmdlCscale
Source§impl From<CmdlCscale> for u8
impl From<CmdlCscale> for u8
Source§fn from(val: CmdlCscale) -> u8
fn from(val: CmdlCscale) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CmdlCscale
impl From<u8> for CmdlCscale
Source§fn from(val: u8) -> CmdlCscale
fn from(val: u8) -> CmdlCscale
Converts to this type from the input type.
Source§impl Ord for CmdlCscale
impl Ord for CmdlCscale
Source§fn cmp(&self, other: &CmdlCscale) -> Ordering
fn cmp(&self, other: &CmdlCscale) -> 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 CmdlCscale
impl PartialEq for CmdlCscale
Source§impl PartialOrd for CmdlCscale
impl PartialOrd for CmdlCscale
impl Copy for CmdlCscale
impl Eq for CmdlCscale
impl StructuralPartialEq for CmdlCscale
Auto Trait Implementations§
impl Freeze for CmdlCscale
impl RefUnwindSafe for CmdlCscale
impl Send for CmdlCscale
impl Sync for CmdlCscale
impl Unpin for CmdlCscale
impl UnwindSafe for CmdlCscale
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