pub struct MpegFile { /* private fields */ }Expand description
An MPEG file
Implementations§
Source§impl MpegFile
impl MpegFile
Source§impl MpegFile
impl MpegFile
Trait Implementations§
Source§impl AudioFile for MpegFile
impl AudioFile for MpegFile
Source§type Properties = MpegProperties
type Properties = MpegProperties
The struct the file uses for audio properties Read more
Source§fn read_from<R>(reader: &mut R, parse_options: ParseOptions) -> Result<Self>
fn read_from<R>(reader: &mut R, parse_options: ParseOptions) -> Result<Self>
Read a file from a reader Read more
Source§fn save_to(&self, file: &mut File) -> Result<()>
fn save_to(&self, file: &mut File) -> Result<()>
Attempts to write all tags to a file Read more
Source§fn properties(&self) -> &Self::Properties
fn properties(&self) -> &Self::Properties
Returns a reference to the file’s properties
Source§fn contains_tag(&self) -> bool
fn contains_tag(&self) -> bool
Checks if the file contains any tags
Auto Trait Implementations§
impl Freeze for MpegFile
impl RefUnwindSafe for MpegFile
impl Send for MpegFile
impl Sync for MpegFile
impl Unpin for MpegFile
impl UnwindSafe for MpegFile
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