Enum lofty::FileType [−][src]
pub enum FileType {
AIFF,
APE,
FLAC,
MP3,
MP4,
Opus,
Vorbis,
WAV,
}Expand description
The type of file read
Variants
AIFF
APE
FLAC
MP3
MP4
Opus
Vorbis
WAV
Implementations
Returns if the target FileType supports a TagType
Attempts to extract a FileType from an extension
Attempts to extract a FileType from a path
Errors
This will return LoftyError::BadExtension if the extension didn’t map to a FileType
Attempts to extract a FileType from a buffer
NOTE: This is for use in Probe::guess_file_type, it
is recommended to use it that way
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl UnwindSafe for FileType
Blanket Implementations
Mutably borrows from an owned value. Read more
