pub enum ChannelCount {
Mono,
Stereo,
}
Expand description
Number of audio channels.
Variants§
Implementations§
Source§impl ChannelCount
impl ChannelCount
Trait Implementations§
Source§impl Clone for ChannelCount
impl Clone for ChannelCount
Source§fn clone(&self) -> ChannelCount
fn clone(&self) -> ChannelCount
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelCount
impl Debug for ChannelCount
Source§impl From<u16> for ChannelCount
impl From<u16> for ChannelCount
Source§impl Hash for ChannelCount
impl Hash for ChannelCount
Source§impl PartialEq for ChannelCount
impl PartialEq for ChannelCount
impl Copy for ChannelCount
impl Eq for ChannelCount
impl StructuralPartialEq for ChannelCount
Auto Trait Implementations§
impl Freeze for ChannelCount
impl RefUnwindSafe for ChannelCount
impl Send for ChannelCount
impl Sync for ChannelCount
impl Unpin for ChannelCount
impl UnwindSafe for ChannelCount
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more