Enum Datasampledelay
#[repr(u8)]pub enum Datasampledelay {
NoDelay = 0,
DelayOnLeft = 1,
DelayOnRight = 2,
DelayOnBoth = 3,
}Variants§
NoDelay = 0
No added delay.
DelayOnLeft = 1
1 clock cycle delay on left channel.
DelayOnRight = 2
1 clock cycle delay on right channel.
DelayOnBoth = 3
1 clock cycle delay on both channels.
Implementations§
§impl Datasampledelay
impl Datasampledelay
pub const fn from_bits(val: u8) -> Datasampledelay
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Datasampledelay
impl Clone for Datasampledelay
§fn clone(&self) -> Datasampledelay
fn clone(&self) -> Datasampledelay
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 Datasampledelay
§impl Debug for Datasampledelay
impl Debug for Datasampledelay
impl Eq for Datasampledelay
§impl From<u8> for Datasampledelay
impl From<u8> for Datasampledelay
§fn from(val: u8) -> Datasampledelay
fn from(val: u8) -> Datasampledelay
Converts to this type from the input type.
§impl Ord for Datasampledelay
impl Ord for Datasampledelay
§fn cmp(&self, other: &Datasampledelay) -> Ordering
fn cmp(&self, other: &Datasampledelay) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Datasampledelay
impl PartialEq for Datasampledelay
§impl PartialOrd for Datasampledelay
impl PartialOrd 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 UnsafeUnpin 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