Struct Flac Format
pub struct FlacFormat {
pub channels: u16,
pub sample_rate: u32,
pub encoding: FlacPcmEncoding,
}Expand description
Explicit FLAC channel order/encoded rate. This wrapper supports channels 1..8 and integer sample rates 1..96000. It adds no speaker-position metadata.
Fields§
§channels: u16§sample_rate: u32§encoding: FlacPcmEncodingTrait Implementations§
§impl Clone for FlacFormat
impl Clone for FlacFormat
§fn clone(&self) -> FlacFormat
fn clone(&self) -> FlacFormat
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 FlacFormat
§impl Debug for FlacFormat
impl Debug for FlacFormat
impl Eq for FlacFormat
§impl PartialEq for FlacFormat
impl PartialEq for FlacFormat
impl StructuralPartialEq for FlacFormat
Auto Trait Implementations§
impl Freeze for FlacFormat
impl RefUnwindSafe for FlacFormat
impl Send for FlacFormat
impl Sync for FlacFormat
impl Unpin for FlacFormat
impl UnsafeUnpin for FlacFormat
impl UnwindSafe for FlacFormat
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