pub enum Format {
Flac,
Mp3,
M4a,
Opus,
Vorbis,
OggFlac,
Wav,
}Expand description
The DB text representation (the tracks.format column) is derived:
serialize_all = "lowercase" lowercases the whole variant ident
(OggFlac → "oggflac"). The strings are an external contract —
beets/Picard write them — pinned by tests::db_strings_are_pinned.
Variants§
Implementations§
Trait Implementations§
impl Copy for Format
impl Eq for Format
Source§impl IntoEnumIterator for Format
impl IntoEnumIterator for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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