pub struct AnyTag<'a> {Show 16 fields
pub config: Config,
pub title: Option<&'a str>,
pub artists: Option<Vec<&'a str>>,
pub date: Option<Timestamp>,
pub year: Option<i32>,
pub duration: Option<f64>,
pub album_title: Option<&'a str>,
pub album_artists: Option<Vec<&'a str>>,
pub album_cover: Option<Picture<'a>>,
pub track_number: Option<u16>,
pub total_tracks: Option<u16>,
pub disc_number: Option<u16>,
pub total_discs: Option<u16>,
pub genre: Option<&'a str>,
pub composer: Option<&'a str>,
pub comment: Option<&'a str>,
}
Fields§
§config: Config
§title: Option<&'a str>
§artists: Option<Vec<&'a str>>
§date: Option<Timestamp>
§year: Option<i32>
§duration: Option<f64>
§album_title: Option<&'a str>
§album_artists: Option<Vec<&'a str>>
§album_cover: Option<Picture<'a>>
§track_number: Option<u16>
§total_tracks: Option<u16>
§disc_number: Option<u16>
§total_discs: Option<u16>
§genre: Option<&'a str>
§composer: Option<&'a str>
§comment: Option<&'a str>
Implementations§
source§impl<'a> AnyTag<'a>
impl<'a> AnyTag<'a>
pub fn title(&self) -> Option<&str>
pub fn set_title(&mut self, title: &'a str)
pub fn artists(&self) -> Option<&[&str]>
pub fn date(&self) -> Option<Timestamp>
pub fn set_date(&mut self, date: Timestamp)
pub fn year(&self) -> Option<i32>
pub fn set_year(&mut self, year: i32)
pub fn duration(&self) -> Option<f64>
pub fn album_title(&self) -> Option<&str>
pub fn album_artists(&self) -> Option<&[&str]>
pub fn track_number(&self) -> Option<u16>
pub fn total_tracks(&self) -> Option<u16>
pub fn disc_number(&self) -> Option<u16>
pub fn total_discs(&self) -> Option<u16>
pub fn genre(&self) -> Option<&str>
pub fn composer(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
Trait Implementations§
source§impl AudioTagConfig for AnyTag<'_>
impl AudioTagConfig for AnyTag<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AnyTag<'a>
impl<'a> Send for AnyTag<'a>
impl<'a> Sync for AnyTag<'a>
impl<'a> Unpin for AnyTag<'a>
impl<'a> UnwindSafe for AnyTag<'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