Enum stm32_metapac::sai::vals::Comp
#[repr(u8)]pub enum Comp {
NOCOMPANDING = 0,
_RESERVED_1 = 1,
MULAW = 2,
ALAW = 3,
}
Variants§
NOCOMPANDING = 0
No companding algorithm
_RESERVED_1 = 1
MULAW = 2
μ-Law algorithm
ALAW = 3
A-Law algorithm
Implementations§
Trait Implementations§
§impl Ord for Comp
impl Ord for Comp
§impl PartialOrd for Comp
impl PartialOrd for Comp
§fn partial_cmp(&self, other: &Comp) -> Option<Ordering>
fn partial_cmp(&self, other: &Comp) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Comp
impl Eq for Comp
impl StructuralEq for Comp
impl StructuralPartialEq for Comp
Auto Trait Implementations§
impl RefUnwindSafe for Comp
impl Send for Comp
impl Sync for Comp
impl Unpin for Comp
impl UnwindSafe for Comp
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