#[repr(u8)]pub enum SampleWidth {
Width2Byte = 2,
Width3Byte = 3,
Width4Byte = 4,
}
Expand description
Audio sample width.
Stored in number of bytes per sample.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SampleWidth
impl Clone for SampleWidth
Source§fn clone(&self) -> SampleWidth
fn clone(&self) -> SampleWidth
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 moreimpl Copy for SampleWidth
Auto Trait Implementations§
impl Freeze for SampleWidth
impl RefUnwindSafe for SampleWidth
impl Send for SampleWidth
impl Sync for SampleWidth
impl Unpin for SampleWidth
impl UnwindSafe for SampleWidth
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