#[repr(u8)]pub enum CoarseAmpGain {
GAIN05 = 0,
GAIN10 = 1,
GAIN18 = 2,
GAIN33 = 3,
}Variants§
Implementations§
Source§impl CoarseAmpGain
impl CoarseAmpGain
Trait Implementations§
Source§impl Clone for CoarseAmpGain
impl Clone for CoarseAmpGain
Source§fn clone(&self) -> CoarseAmpGain
fn clone(&self) -> CoarseAmpGain
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 CoarseAmpGain
impl Debug for CoarseAmpGain
Source§impl From<CoarseAmpGain> for u8
impl From<CoarseAmpGain> for u8
Source§fn from(val: CoarseAmpGain) -> u8
fn from(val: CoarseAmpGain) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CoarseAmpGain
impl From<u8> for CoarseAmpGain
Source§fn from(val: u8) -> CoarseAmpGain
fn from(val: u8) -> CoarseAmpGain
Converts to this type from the input type.
Source§impl Ord for CoarseAmpGain
impl Ord for CoarseAmpGain
Source§fn cmp(&self, other: &CoarseAmpGain) -> Ordering
fn cmp(&self, other: &CoarseAmpGain) -> 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 CoarseAmpGain
impl PartialEq for CoarseAmpGain
Source§impl PartialOrd for CoarseAmpGain
impl PartialOrd for CoarseAmpGain
impl Copy for CoarseAmpGain
impl Eq for CoarseAmpGain
impl StructuralPartialEq for CoarseAmpGain
Auto Trait Implementations§
impl Freeze for CoarseAmpGain
impl RefUnwindSafe for CoarseAmpGain
impl Send for CoarseAmpGain
impl Sync for CoarseAmpGain
impl Unpin for CoarseAmpGain
impl UnwindSafe for CoarseAmpGain
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