pub struct Id3Tag<'a> {
pub title: &'a [u8],
pub artist: &'a [u8],
pub album: &'a [u8],
pub album_art: &'a [u8],
pub year: &'a [u8],
pub comment: &'a [u8],
}
Expand description
ID3 tag as raw bytes.
Use empty slice for None
At the current moment, only up to 250 characters will be copied.
Fields§
§title: &'a [u8]
Track’s Title
artist: &'a [u8]
Artist name
album: &'a [u8]
Album name
album_art: &'a [u8]
Album art
Must be image data.
Allowed formats: PNG, JPG, GIF
Maximum size is defined by constant MAX_ALBUM_ART_SIZE When setting this metadata, make sure allocate at least MAX_ALBUM_ART_SIZE
year: &'a [u8]
Year
comment: &'a [u8]
Comment
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Id3Tag<'a>
impl<'a> RefUnwindSafe for Id3Tag<'a>
impl<'a> Send for Id3Tag<'a>
impl<'a> Sync for Id3Tag<'a>
impl<'a> Unpin for Id3Tag<'a>
impl<'a> UnwindSafe for Id3Tag<'a>
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