Struct Wave Format
pub struct WaveFormat {
pub channels: u16,
pub sample_rate: u32,
pub encoding: WaveEncoding,
}Fields§
§channels: u16§sample_rate: u32§encoding: WaveEncodingTrait Implementations§
§impl Clone for WaveFormat
impl Clone for WaveFormat
§fn clone(&self) -> WaveFormat
fn clone(&self) -> WaveFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WaveFormat
§impl Debug for WaveFormat
impl Debug for WaveFormat
impl Eq for WaveFormat
§impl PartialEq for WaveFormat
impl PartialEq for WaveFormat
impl StructuralPartialEq for WaveFormat
Auto Trait Implementations§
impl Freeze for WaveFormat
impl RefUnwindSafe for WaveFormat
impl Send for WaveFormat
impl Sync for WaveFormat
impl Unpin for WaveFormat
impl UnsafeUnpin for WaveFormat
impl UnwindSafe for WaveFormat
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more