pub enum AudioSampleFormat {
S16LE = 1,
}Expand description
The format of the samples emitted via [yield_audio_samples].
Variants§
S16LE = 1
Signed 16-bit integer, little-endian.
Implementations§
Trait Implementations§
Source§impl Clone for AudioSampleFormat
impl Clone for AudioSampleFormat
Source§fn clone(&self) -> AudioSampleFormat
fn clone(&self) -> AudioSampleFormat
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 AudioSampleFormat
impl Debug for AudioSampleFormat
Source§impl Hash for AudioSampleFormat
impl Hash for AudioSampleFormat
Source§impl Ord for AudioSampleFormat
impl Ord for AudioSampleFormat
Source§fn cmp(&self, other: &AudioSampleFormat) -> Ordering
fn cmp(&self, other: &AudioSampleFormat) -> 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 AudioSampleFormat
impl PartialEq for AudioSampleFormat
Source§impl PartialOrd for AudioSampleFormat
impl PartialOrd for AudioSampleFormat
Source§impl TryFrom<u8> for AudioSampleFormat
impl TryFrom<u8> for AudioSampleFormat
impl Copy for AudioSampleFormat
impl Eq for AudioSampleFormat
impl StructuralPartialEq for AudioSampleFormat
Auto Trait Implementations§
impl Freeze for AudioSampleFormat
impl RefUnwindSafe for AudioSampleFormat
impl Send for AudioSampleFormat
impl Sync for AudioSampleFormat
impl Unpin for AudioSampleFormat
impl UnwindSafe for AudioSampleFormat
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