pub struct MpegInfo {
pub length: f64,
pub bitrate: u64,
pub sample_rate: u32,
pub channels: u16,
pub sketchy: bool,
}Expand description
MPEGInfo’s useful attributes.
Fields§
§length: f64Audio length in seconds.
bitrate: u64Bits per second; an estimate from the first frame for CBR files.
sample_rate: u32§channels: u16§sketchy: boolmutagen’s “may not be valid MPEG audio” flag.
Trait Implementations§
impl StructuralPartialEq for MpegInfo
Auto Trait Implementations§
impl Freeze for MpegInfo
impl RefUnwindSafe for MpegInfo
impl Send for MpegInfo
impl Sync for MpegInfo
impl Unpin for MpegInfo
impl UnsafeUnpin for MpegInfo
impl UnwindSafe for MpegInfo
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