pub enum DecoderPcmSampleLayout {
Interleaved,
Planar,
}Expand description
PCM sample layout returned by audio decoder plugins.
Variants§
Trait Implementations§
Source§impl Clone for DecoderPcmSampleLayout
impl Clone for DecoderPcmSampleLayout
Source§fn clone(&self) -> DecoderPcmSampleLayout
fn clone(&self) -> DecoderPcmSampleLayout
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 DecoderPcmSampleLayout
Source§impl Debug for DecoderPcmSampleLayout
impl Debug for DecoderPcmSampleLayout
Source§impl Default for DecoderPcmSampleLayout
impl Default for DecoderPcmSampleLayout
Source§fn default() -> DecoderPcmSampleLayout
fn default() -> DecoderPcmSampleLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecoderPcmSampleLayout
impl<'de> Deserialize<'de> for DecoderPcmSampleLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecoderPcmSampleLayout
Source§impl Hash for DecoderPcmSampleLayout
impl Hash for DecoderPcmSampleLayout
Source§impl PartialEq for DecoderPcmSampleLayout
impl PartialEq for DecoderPcmSampleLayout
Source§impl Serialize for DecoderPcmSampleLayout
impl Serialize for DecoderPcmSampleLayout
impl StructuralPartialEq for DecoderPcmSampleLayout
Auto Trait Implementations§
impl Freeze for DecoderPcmSampleLayout
impl RefUnwindSafe for DecoderPcmSampleLayout
impl Send for DecoderPcmSampleLayout
impl Sync for DecoderPcmSampleLayout
impl Unpin for DecoderPcmSampleLayout
impl UnsafeUnpin for DecoderPcmSampleLayout
impl UnwindSafe for DecoderPcmSampleLayout
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