#[repr(u8)]pub enum Signextend {
DO_NOT_SIGNEXTEND = 0,
SIGNEXTEND = 1,
}Variants§
DO_NOT_SIGNEXTEND = 0
The top byte of the FIFODATA register is always 0.
SIGNEXTEND = 1
The top byte of the FIFODATA register is sign extended. This allows processing of 24-bit audio data on 32-bit machines.
Implementations§
Source§impl Signextend
impl Signextend
Trait Implementations§
Source§impl Clone for Signextend
impl Clone for Signextend
Source§fn clone(&self) -> Signextend
fn clone(&self) -> Signextend
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 Signextend
impl Debug for Signextend
Source§impl From<Signextend> for u8
impl From<Signextend> for u8
Source§fn from(val: Signextend) -> u8
fn from(val: Signextend) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Signextend
impl From<u8> for Signextend
Source§fn from(val: u8) -> Signextend
fn from(val: u8) -> Signextend
Converts to this type from the input type.
Source§impl Ord for Signextend
impl Ord for Signextend
Source§fn cmp(&self, other: &Signextend) -> Ordering
fn cmp(&self, other: &Signextend) -> 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 Signextend
impl PartialEq for Signextend
Source§impl PartialOrd for Signextend
impl PartialOrd for Signextend
impl Copy for Signextend
impl Eq for Signextend
impl StructuralPartialEq for Signextend
Auto Trait Implementations§
impl Freeze for Signextend
impl RefUnwindSafe for Signextend
impl Send for Signextend
impl Sync for Signextend
impl Unpin for Signextend
impl UnwindSafe for Signextend
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