#[non_exhaustive]pub enum Ac4ChannelMode {
Mono,
Stereo,
Multichannel,
Reserved(u8),
}Expand description
AC-4 channel mode — ETSI EN 300 468 Table D.12.
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.
Mono
Mono content.
Stereo
Stereo content.
Multichannel
Multichannel content.
Reserved(u8)
Reserved for future use.
Implementations§
Trait Implementations§
Source§impl Clone for Ac4ChannelMode
impl Clone for Ac4ChannelMode
Source§fn clone(&self) -> Ac4ChannelMode
fn clone(&self) -> Ac4ChannelMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ac4ChannelMode
Source§impl Debug for Ac4ChannelMode
impl Debug for Ac4ChannelMode
Source§impl Display for Ac4ChannelMode
impl Display for Ac4ChannelMode
impl Eq for Ac4ChannelMode
Source§impl PartialEq for Ac4ChannelMode
impl PartialEq for Ac4ChannelMode
Source§fn eq(&self, other: &Ac4ChannelMode) -> bool
fn eq(&self, other: &Ac4ChannelMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Ac4ChannelMode
impl Serialize for Ac4ChannelMode
impl StructuralPartialEq for Ac4ChannelMode
Auto Trait Implementations§
impl Freeze for Ac4ChannelMode
impl RefUnwindSafe for Ac4ChannelMode
impl Send for Ac4ChannelMode
impl Sync for Ac4ChannelMode
impl Unpin for Ac4ChannelMode
impl UnsafeUnpin for Ac4ChannelMode
impl UnwindSafe for Ac4ChannelMode
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