#[non_exhaustive]#[repr(u8)]pub enum AudioRate {
Off = 0,
WideStandard = 1,
WideFast = 2,
WideSlow = 3,
NarrowStandard = 4,
NarrowFast = 5,
NarrowSlow = 6,
}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.
Off = 0
Rate control off
WideStandard = 1
Standard rate, wide range control (IEEE 1394 compatible)
WideFast = 2
Fast rate, wide range control (IEEE 1394 compatible)
WideSlow = 3
Slow rate, wide range control (IEEE 1394 compatible)
NarrowStandard = 4
Standard rate, narrow range control (HDMI transparent)
NarrowFast = 5
Fast rate, narrow range control (HDMI transparent)
NarrowSlow = 6
Slow rate, narrow range control (HDMI transparent)
Trait Implementations§
Source§impl OperandEncodable for AudioRate
impl OperandEncodable for AudioRate
Source§impl TryFromPrimitive for AudioRate
impl TryFromPrimitive for AudioRate
impl Copy for AudioRate
impl Eq for AudioRate
impl StructuralPartialEq for AudioRate
Auto Trait Implementations§
impl Freeze for AudioRate
impl RefUnwindSafe for AudioRate
impl Send for AudioRate
impl Sync for AudioRate
impl Unpin for AudioRate
impl UnsafeUnpin for AudioRate
impl UnwindSafe for AudioRate
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