pub struct WavPackFile { /* private fields */ }Expand description
A WavPack file
Implementations§
Source§impl WavPackFile
impl WavPackFile
Source§impl WavPackFile
impl WavPackFile
Sourcepub fn remove_ape(&mut self) -> Option<ApeTag>
pub fn remove_ape(&mut self) -> Option<ApeTag>
Removes the tag
Trait Implementations§
Source§impl AudioFile for WavPackFile
impl AudioFile for WavPackFile
Source§type Properties = WavPackProperties
type Properties = WavPackProperties
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<F>(&self, file: &mut F, write_options: WriteOptions) -> Result<()>
fn save_to<F>(&self, file: &mut F, write_options: WriteOptions) -> 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
Source§fn contains_tag_type(&self, tag_type: TagType) -> bool
fn contains_tag_type(&self, tag_type: TagType) -> bool
Checks if the file contains the given
TagTypeSource§fn save_to_path(
&self,
path: impl AsRef<Path>,
write_options: WriteOptions,
) -> Result<()>
fn save_to_path( &self, path: impl AsRef<Path>, write_options: WriteOptions, ) -> Result<()>
Attempts to write all tags to a path Read more
Source§impl Default for WavPackFile
impl Default for WavPackFile
Source§fn default() -> WavPackFile
fn default() -> WavPackFile
Returns the “default value” for a type. Read more
Source§impl From<WavPackFile> for TaggedFile
impl From<WavPackFile> for TaggedFile
Source§fn from(input: WavPackFile) -> Self
fn from(input: WavPackFile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WavPackFile
impl RefUnwindSafe for WavPackFile
impl Send for WavPackFile
impl Sync for WavPackFile
impl Unpin for WavPackFile
impl UnwindSafe for WavPackFile
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