pub struct MpcFile { /* private fields */ }Expand description
An MPC file
Implementations§
source§impl MpcFile
impl MpcFile
source§impl MpcFile
impl MpcFile
source§impl MpcFile
impl MpcFile
sourcepub fn stream_version(&self) -> MpcStreamVersion
pub fn stream_version(&self) -> MpcStreamVersion
The version of the MPC stream
Trait Implementations§
source§impl AudioFile for MpcFile
impl AudioFile for MpcFile
§type Properties = MpcProperties
type Properties = MpcProperties
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 RefUnwindSafe for MpcFile
impl Send for MpcFile
impl Sync for MpcFile
impl Unpin for MpcFile
impl UnwindSafe for MpcFile
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