pub struct AiffFile { /* private fields */ }
Expand description
An AIFF file
Implementations§
source§impl AiffFile
impl AiffFile
sourcepub fn text_chunks(&self) -> Option<&AIFFTextChunks>
pub fn text_chunks(&self) -> Option<&AIFFTextChunks>
Returns a reference to the tag
sourcepub fn text_chunks_mut(&mut self) -> Option<&mut AIFFTextChunks>
pub fn text_chunks_mut(&mut self) -> Option<&mut AIFFTextChunks>
Returns a mutable reference to the tag
sourcepub fn set_text_chunks(&mut self, tag: AIFFTextChunks) -> Option<AIFFTextChunks>
pub fn set_text_chunks(&mut self, tag: AIFFTextChunks) -> Option<AIFFTextChunks>
Sets the tag, returning the old one
sourcepub fn remove_text_chunks(&mut self) -> Option<AIFFTextChunks>
pub fn remove_text_chunks(&mut self) -> Option<AIFFTextChunks>
Removes the tag
Trait Implementations§
source§impl AudioFile for AiffFile
impl AudioFile for AiffFile
§type Properties = AiffProperties
type Properties = AiffProperties
The struct the file uses for audio properties Read more
source§fn read_from<R>(reader: &mut R, parse_options: ParseOptions) -> Result<Self>where
R: Read + Seek,
fn read_from<R>(reader: &mut R, parse_options: ParseOptions) -> Result<Self>where R: Read + Seek,
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 AiffFile
impl Send for AiffFile
impl Sync for AiffFile
impl Unpin for AiffFile
impl UnwindSafe for AiffFile
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