#[non_exhaustive]#[repr(u32)]pub enum Preemphasis {
Disabled = 0,
P50uS = 1,
P75uS = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<u32> for Preemphasis
impl AsRef<u32> for Preemphasis
Source§impl Clone for Preemphasis
impl Clone for Preemphasis
Source§fn clone(&self) -> Preemphasis
fn clone(&self) -> Preemphasis
Returns a copy 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 Preemphasis
impl Debug for Preemphasis
Source§impl Deref for Preemphasis
impl Deref for Preemphasis
Source§impl Display for Preemphasis
impl Display for Preemphasis
Source§impl From<Preemphasis> for u32
impl From<Preemphasis> for u32
Source§fn from(data: Preemphasis) -> Self
fn from(data: Preemphasis) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Preemphasis
impl PartialEq for Preemphasis
Source§impl TryFrom<u32> for Preemphasis
impl TryFrom<u32> for Preemphasis
impl Copy for Preemphasis
impl Eq for Preemphasis
impl StructuralPartialEq for Preemphasis
Auto Trait Implementations§
impl Freeze for Preemphasis
impl RefUnwindSafe for Preemphasis
impl Send for Preemphasis
impl Sync for Preemphasis
impl Unpin for Preemphasis
impl UnwindSafe for Preemphasis
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