pub struct ChannelMap {
pub left: Vec<ChannelTerm>,
pub right: Vec<ChannelTerm>,
}Expand description
What the left and right channels play of a stream’s channels: each a sum of weighted channels, where terms naming one channel add. A mono project plays the average of the two rows. At least one row has a term.
Fields§
§left: Vec<ChannelTerm>What the left channel plays, at most alpha2_media::MAX_AUDIO_CHANNELS terms; empty is
silence.
right: Vec<ChannelTerm>What the right channel plays, at most alpha2_media::MAX_AUDIO_CHANNELS terms; empty
is silence.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelMap
impl Clone for ChannelMap
Source§impl Debug for ChannelMap
impl Debug for ChannelMap
Source§impl<'de> Deserialize<'de> for ChannelMap
impl<'de> Deserialize<'de> for ChannelMap
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
Source§impl PartialEq for ChannelMap
impl PartialEq for ChannelMap
Source§impl Serialize for ChannelMap
impl Serialize for ChannelMap
impl StructuralPartialEq for ChannelMap
Auto Trait Implementations§
impl Forget for ChannelMap
impl Freeze for ChannelMap
impl Move for ChannelMap
impl RefUnwindSafe for ChannelMap
impl Send for ChannelMapwhere
RawVecInner: Send,
impl Sync for ChannelMapwhere
RawVecInner: Sync,
impl Unpin for ChannelMap
impl UnsafeUnpin for ChannelMap
impl UnwindSafe for ChannelMapwhere
RawVecInner: UnwindSafe,
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