pub enum Channels<'d> {
Numbered(u8),
Spatial(&'d [Channel]),
}Expand description
The channels of one direction, as the host is told about them.
Variants§
Numbered(u8)
Channels without speaker positions (bmChannelConfig 0), one to 255: an interface’s
inputs and outputs. The host numbers them.
Spatial(&'d [Channel])
One channel per speaker position, in stream order. Entries must be unique and follow
bmChannelConfig bit order, as listed in Channel.
Implementations§
Trait Implementations§
impl<'d> Copy for Channels<'d>
Auto Trait Implementations§
impl<'d> Forget for Channels<'d>
impl<'d> Freeze for Channels<'d>
impl<'d> Move for Channels<'d>
impl<'d> RefUnwindSafe for Channels<'d>
impl<'d> Send for Channels<'d>
impl<'d> Sync for Channels<'d>
impl<'d> Unpin for Channels<'d>
impl<'d> UnsafeUnpin for Channels<'d>
impl<'d> UnwindSafe for Channels<'d>
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