#[non_exhaustive]pub enum TagType {
Ape,
Id3v1,
Id3v2,
Mp4Ilst,
VorbisComments,
RiffInfo,
AiffText,
}
Expand description
The tag’s format
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ape
This covers both APEv1 and APEv2 as it doesn’t matter much
Id3v1
Represents an ID3v1 tag
Id3v2
This covers all ID3v2 versions since they all get upgraded to ID3v2.4
Mp4Ilst
Represents an MP4 ilst atom
VorbisComments
Represents vorbis comments
RiffInfo
Represents a RIFF INFO LIST
AiffText
Represents AIFF text chunks
Implementations§
Trait Implementations§
source§impl PartialEq for TagType
impl PartialEq for TagType
impl Copy for TagType
impl Eq for TagType
impl StructuralEq for TagType
impl StructuralPartialEq for TagType
Auto Trait Implementations§
impl RefUnwindSafe for TagType
impl Send for TagType
impl Sync for TagType
impl Unpin for TagType
impl UnwindSafe for TagType
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