pub struct OpusFile { /* private fields */ }
Expand description
An OGG Opus file
Implementations
sourceimpl OpusFile
impl OpusFile
sourcepub fn vorbis_comments(&self) -> &VorbisComments
Available on crate feature vorbis_comments
only.
pub fn vorbis_comments(&self) -> &VorbisComments
vorbis_comments
only.Returns a reference to the Vorbis comments tag
sourcepub fn vorbis_comments_mut(&mut self) -> &mut VorbisComments
Available on crate feature vorbis_comments
only.
pub fn vorbis_comments_mut(&mut self) -> &mut VorbisComments
vorbis_comments
only.Returns a mutable reference to the Vorbis comments tag
Trait Implementations
sourceimpl AudioFile for OpusFile
impl AudioFile for OpusFile
type Properties = OpusProperties
type Properties = OpusProperties
The struct the file uses for audio properties Read more
sourcefn read_from<R>(reader: &mut R, read_properties: bool) -> Result<Self> where
R: Read + Seek,
fn read_from<R>(reader: &mut R, read_properties: bool) -> Result<Self> where
R: Read + Seek,
Read a file from a reader Read more
sourcefn properties(&self) -> &Self::Properties
fn properties(&self) -> &Self::Properties
Returns a reference to the file’s properties
sourcefn contains_tag(&self) -> bool
fn contains_tag(&self) -> bool
Checks if the file contains any tags
sourcefn contains_tag_type(&self, tag_type: TagType) -> bool
fn contains_tag_type(&self, tag_type: TagType) -> bool
Checks if the file contains the given TagType
Auto Trait Implementations
impl RefUnwindSafe for OpusFile
impl Send for OpusFile
impl Sync for OpusFile
impl Unpin for OpusFile
impl UnwindSafe for OpusFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more