pub enum OutputDevice {
Speaker,
Headphone,
Both,
Auto,
}Expand description
The output device of the CS43L22 This is used to select the output device of the CS43L22 on the register 0x04
Variants§
Trait Implementations§
Source§impl Clone for OutputDevice
impl Clone for OutputDevice
Source§fn clone(&self) -> OutputDevice
fn clone(&self) -> OutputDevice
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 OutputDevice
Source§impl Debug for OutputDevice
impl Debug for OutputDevice
Source§impl From<OutputDevice> for u8
impl From<OutputDevice> for u8
Source§fn from(device: OutputDevice) -> Self
fn from(device: OutputDevice) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputDevice
impl PartialEq for OutputDevice
Source§fn eq(&self, other: &OutputDevice) -> bool
fn eq(&self, other: &OutputDevice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputDevice
Auto Trait Implementations§
impl Freeze for OutputDevice
impl RefUnwindSafe for OutputDevice
impl Send for OutputDevice
impl Sync for OutputDevice
impl Unpin for OutputDevice
impl UnsafeUnpin for OutputDevice
impl UnwindSafe for OutputDevice
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