pub enum ChannelCount {
Two = 0,
Four = 1,
Six = 2,
Eight = 3,
}Expand description
Number of audio channels.
Variants§
Trait Implementations§
Source§impl Clone for ChannelCount
impl Clone for ChannelCount
Source§fn clone(&self) -> ChannelCount
fn clone(&self) -> ChannelCount
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 ChannelCount
Source§impl Debug for ChannelCount
impl Debug for ChannelCount
impl Eq for ChannelCount
Source§impl PartialEq for ChannelCount
impl PartialEq for ChannelCount
Source§fn eq(&self, other: &ChannelCount) -> bool
fn eq(&self, other: &ChannelCount) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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