Enum ctru::services::ndsp::OutputMode
source · #[repr(u8)]pub enum OutputMode {
Mono = 0,
Stereo = 1,
Surround = 2,
}
Expand description
Audio output mode.
Variants§
Trait Implementations§
source§impl Clone for OutputMode
impl Clone for OutputMode
source§fn clone(&self) -> OutputMode
fn clone(&self) -> OutputMode
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutputMode
impl Debug for OutputMode
source§impl From<OutputMode> for ndspOutputMode
impl From<OutputMode> for ndspOutputMode
source§fn from(v: OutputMode) -> Self
fn from(v: OutputMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for OutputMode
impl PartialEq for OutputMode
impl Copy for OutputMode
impl Eq for OutputMode
impl StructuralPartialEq for OutputMode
Auto Trait Implementations§
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnwindSafe for OutputMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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