pub enum ShellAnalogJackState {
FrontSelected,
FrontInserted,
FrontInsertedAttenuated,
RearSelected,
RearInserted,
}
Expand description
State of jack sense for analog input.
Variants§
FrontSelected
Select front jack instead of rear.
FrontInserted
Detect plug insertion in front jack.
FrontInsertedAttenuated
Detect plug insertion in front jack with attenuation.
RearSelected
Select rear jack instead of front.
RearInserted
Detect plug insertion in rear jack.
Trait Implementations§
Source§impl Clone for ShellAnalogJackState
impl Clone for ShellAnalogJackState
Source§fn clone(&self) -> ShellAnalogJackState
fn clone(&self) -> ShellAnalogJackState
Returns a duplicate 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 ShellAnalogJackState
impl Debug for ShellAnalogJackState
Source§impl Default for ShellAnalogJackState
impl Default for ShellAnalogJackState
Source§impl PartialEq for ShellAnalogJackState
impl PartialEq for ShellAnalogJackState
impl Copy for ShellAnalogJackState
impl Eq for ShellAnalogJackState
impl StructuralPartialEq for ShellAnalogJackState
Auto Trait Implementations§
impl Freeze for ShellAnalogJackState
impl RefUnwindSafe for ShellAnalogJackState
impl Send for ShellAnalogJackState
impl Sync for ShellAnalogJackState
impl Unpin for ShellAnalogJackState
impl UnwindSafe for ShellAnalogJackState
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