#[repr(u8)]pub enum AdpcmInput {
Microphone = 0,
LineIn = 1,
}Expand description
The recording input
Variants§
Trait Implementations§
Source§impl Clone for AdpcmInput
impl Clone for AdpcmInput
Source§fn clone(&self) -> AdpcmInput
fn clone(&self) -> AdpcmInput
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 moreSource§impl Debug for AdpcmInput
impl Debug for AdpcmInput
Source§impl From<AdpcmInput> for u8
impl From<AdpcmInput> for u8
Source§fn from(val: AdpcmInput) -> Self
fn from(val: AdpcmInput) -> Self
Converts to this type from the input type.
Source§impl Hash for AdpcmInput
impl Hash for AdpcmInput
Source§impl PartialEq for AdpcmInput
impl PartialEq for AdpcmInput
Source§fn eq(&self, other: &AdpcmInput) -> bool
fn eq(&self, other: &AdpcmInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for AdpcmInput
impl TryFrom<u8> for AdpcmInput
impl Copy for AdpcmInput
impl Eq for AdpcmInput
impl StructuralPartialEq for AdpcmInput
Auto Trait Implementations§
impl Freeze for AdpcmInput
impl RefUnwindSafe for AdpcmInput
impl Send for AdpcmInput
impl Sync for AdpcmInput
impl Unpin for AdpcmInput
impl UnsafeUnpin for AdpcmInput
impl UnwindSafe for AdpcmInput
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