#[repr(u8)]pub enum Datasampledelay {
NO_DELAY = 0,
DELAY_ON_LEFT = 1,
DELAY_ON_RIGHT = 2,
DELAY_ON_BOTH = 3,
}Variants§
NO_DELAY = 0
No added delay
DELAY_ON_LEFT = 1
1 clock cycle delay on left channel
DELAY_ON_RIGHT = 2
1 clock cycle delay on right channel
DELAY_ON_BOTH = 3
1 clock cycle delay on both channels
Implementations§
Trait Implementations§
Source§impl Clone for Datasampledelay
impl Clone for Datasampledelay
Source§fn clone(&self) -> Datasampledelay
fn clone(&self) -> Datasampledelay
Returns a copy 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 Datasampledelay
impl Debug for Datasampledelay
Source§impl From<Datasampledelay> for u8
impl From<Datasampledelay> for u8
Source§fn from(val: Datasampledelay) -> u8
fn from(val: Datasampledelay) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Datasampledelay
impl From<u8> for Datasampledelay
Source§fn from(val: u8) -> Datasampledelay
fn from(val: u8) -> Datasampledelay
Converts to this type from the input type.
Source§impl Ord for Datasampledelay
impl Ord for Datasampledelay
Source§fn cmp(&self, other: &Datasampledelay) -> Ordering
fn cmp(&self, other: &Datasampledelay) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Datasampledelay
impl PartialEq for Datasampledelay
Source§impl PartialOrd for Datasampledelay
impl PartialOrd for Datasampledelay
impl Copy for Datasampledelay
impl Eq for Datasampledelay
impl StructuralPartialEq for Datasampledelay
Auto Trait Implementations§
impl Freeze for Datasampledelay
impl RefUnwindSafe for Datasampledelay
impl Send for Datasampledelay
impl Sync for Datasampledelay
impl Unpin for Datasampledelay
impl UnwindSafe for Datasampledelay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)