Enum cubeb::SampleFormat
source · pub enum SampleFormat {
S16LE,
S16BE,
Float32LE,
Float32BE,
S16NE,
Float32NE,
}
Variants§
Trait Implementations§
source§impl Clone for SampleFormat
impl Clone for SampleFormat
source§fn clone(&self) -> SampleFormat
fn clone(&self) -> SampleFormat
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 SampleFormat
impl Debug for SampleFormat
source§impl From<u32> for SampleFormat
impl From<u32> for SampleFormat
source§fn from(x: u32) -> SampleFormat
fn from(x: u32) -> SampleFormat
Converts to this type from the input type.
source§impl PartialEq for SampleFormat
impl PartialEq for SampleFormat
source§fn eq(&self, other: &SampleFormat) -> bool
fn eq(&self, other: &SampleFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SampleFormat
impl Eq for SampleFormat
impl StructuralEq for SampleFormat
impl StructuralPartialEq for SampleFormat
Auto Trait Implementations§
impl RefUnwindSafe for SampleFormat
impl Send for SampleFormat
impl Sync for SampleFormat
impl Unpin for SampleFormat
impl UnwindSafe for SampleFormat
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