Struct audiotags::components::Id3v2Tag
source · pub struct Id3v2Tag { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AudioTagConfig for Id3v2Tag
impl AudioTagConfig for Id3v2Tag
source§impl AudioTagEdit for Id3v2Tag
impl AudioTagEdit for Id3v2Tag
fn title(&self) -> Option<&str>
fn set_title(&mut self, title: &str)
fn remove_title(&mut self)
fn artist(&self) -> Option<&str>
fn set_artist(&mut self, artist: &str)
fn remove_artist(&mut self)
fn date(&self) -> Option<Timestamp>
fn set_date(&mut self, timestamp: Timestamp)
fn remove_date(&mut self)
fn year(&self) -> Option<i32>
fn set_year(&mut self, year: i32)
fn remove_year(&mut self)
fn duration(&self) -> Option<f64>
fn album_title(&self) -> Option<&str>
fn set_album_title(&mut self, v: &str)
fn remove_album_title(&mut self)
fn album_artist(&self) -> Option<&str>
fn set_album_artist(&mut self, v: &str)
fn remove_album_artist(&mut self)
fn album_cover(&self) -> Option<Picture<'_>>
fn set_album_cover(&mut self, cover: Picture<'_>)
fn remove_album_cover(&mut self)
fn composer(&self) -> Option<&str>
fn set_composer(&mut self, composer: String)
fn remove_composer(&mut self)
fn track_number(&self) -> Option<u16>
fn set_track_number(&mut self, track: u16)
fn remove_track_number(&mut self)
fn total_tracks(&self) -> Option<u16>
fn set_total_tracks(&mut self, total_track: u16)
fn remove_total_tracks(&mut self)
fn disc_number(&self) -> Option<u16>
fn set_disc_number(&mut self, disc_number: u16)
fn remove_disc_number(&mut self)
fn total_discs(&self) -> Option<u16>
fn set_total_discs(&mut self, total_discs: u16)
fn remove_total_discs(&mut self)
fn genre(&self) -> Option<&str>
fn set_genre(&mut self, v: &str)
fn remove_genre(&mut self)
fn comment(&self) -> Option<&str>
fn set_comment(&mut self, comment: String)
fn remove_comment(&mut self)
fn artists(&self) -> Option<Vec<&str>>
fn add_artist(&mut self, artist: &str)
fn album(&self) -> Option<Album<'_>>
fn set_album(&mut self, album: Album<'_>)
fn remove_album(&mut self)
fn album_artists(&self) -> Option<Vec<&str>>
fn add_album_artist(&mut self, artist: &str)
fn track(&self) -> (Option<u16>, Option<u16>)
fn set_track(&mut self, track: (u16, u16))
fn remove_track(&mut self)
fn disc(&self) -> (Option<u16>, Option<u16>)
fn set_disc(&mut self, disc: (u16, u16))
fn remove_disc(&mut self)
source§impl AudioTagWrite for Id3v2Tag
impl AudioTagWrite for Id3v2Tag
source§impl From<Id3v2Tag> for Id3v2InnerTag
impl From<Id3v2Tag> for Id3v2InnerTag
source§impl From<Tag> for Id3v2Tag
impl From<Tag> for Id3v2Tag
source§fn from(inp: Id3v2InnerTag) -> Self
fn from(inp: Id3v2InnerTag) -> Self
Converts to this type from the input type.
impl AudioTag for Id3v2Tag
Auto Trait Implementations§
impl RefUnwindSafe for Id3v2Tag
impl Send for Id3v2Tag
impl Sync for Id3v2Tag
impl Unpin for Id3v2Tag
impl UnwindSafe for Id3v2Tag
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