pub enum DecodedChannel {
Mono,
Left,
Right,
}Expand description
Decoded opus channel to use for this audio channel.
Variants§
Mono
The opus stream will be mono audio.
Left
Use the first decoded channel of the stereo stream.
Right
Use the second decoded channel of the stereo stream.
Trait Implementations§
Source§impl Clone for DecodedChannel
impl Clone for DecodedChannel
Source§fn clone(&self) -> DecodedChannel
fn clone(&self) -> DecodedChannel
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 DecodedChannel
Source§impl Debug for DecodedChannel
impl Debug for DecodedChannel
Source§impl PartialEq for DecodedChannel
impl PartialEq for DecodedChannel
Source§fn eq(&self, other: &DecodedChannel) -> bool
fn eq(&self, other: &DecodedChannel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodedChannel
Auto Trait Implementations§
impl Freeze for DecodedChannel
impl RefUnwindSafe for DecodedChannel
impl Send for DecodedChannel
impl Sync for DecodedChannel
impl Unpin for DecodedChannel
impl UnsafeUnpin for DecodedChannel
impl UnwindSafe for DecodedChannel
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