pub struct Mapping<'a> {
pub channels: u8,
pub streams: u8,
pub coupled_streams: u8,
pub mapping: &'a [u8],
}Expand description
Describes the multistream mapping configuration.
Fields§
§channels: u8Total input/output channels.
streams: u8Total number of streams (coupled + uncoupled).
coupled_streams: u8Number of coupled stereo streams (each counts as 2 channels).
mapping: &'a [u8]Channel-to-stream mapping table (length == channels).
Trait Implementations§
impl<'a> Copy for Mapping<'a>
Auto Trait Implementations§
impl<'a> Freeze for Mapping<'a>
impl<'a> RefUnwindSafe for Mapping<'a>
impl<'a> Send for Mapping<'a>
impl<'a> Sync for Mapping<'a>
impl<'a> Unpin for Mapping<'a>
impl<'a> UnwindSafe for Mapping<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)