#[non_exhaustive]pub enum AudioLayout {
Ambisonic,
Unknown(String),
}Expand description
What a rendition’s decoded channels carry, beyond the codec’s own channel order.
Absent means the codec’s channel order. An unrecognized value decodes to
AudioLayout::Unknown instead of failing, and a consumer treats it as absent.
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.
Ambisonic
Full-sphere ambisonics in AmbiX: ACN channel order with SN3D normalization.
The order follows from the channel count, (order + 1)², so the count is a square of at least 4.
Unknown(String)
A layout this build does not recognize, preserved verbatim.
Trait Implementations§
Source§impl Clone for AudioLayout
impl Clone for AudioLayout
Source§impl Debug for AudioLayout
impl Debug for AudioLayout
Source§impl Display for AudioLayout
impl Display for AudioLayout
impl Eq for AudioLayout
Source§impl FromStr for AudioLayout
impl FromStr for AudioLayout
Source§impl PartialEq for AudioLayout
impl PartialEq for AudioLayout
impl StructuralPartialEq for AudioLayout
Auto Trait Implementations§
impl Freeze for AudioLayout
impl RefUnwindSafe for AudioLayout
impl Send for AudioLayout
impl Sync for AudioLayout
impl Unpin for AudioLayout
impl UnsafeUnpin for AudioLayout
impl UnwindSafe for AudioLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.