pub struct DiscRef<'album> { /* private fields */ }Implementations§
Source§impl<'album> DiscRef<'album>
impl<'album> DiscRef<'album>
pub fn title(&self) -> &str
pub fn artist(&self) -> &str
Sourcepub fn artist_raw(&self) -> Option<&str>
pub fn artist_raw(&self) -> Option<&str>
Get raw disc artist without inherit
pub fn artists(&self) -> Option<&HashMap<String, String>>
pub fn catalog(&self) -> &str
pub fn track_type(&self) -> &TrackType
pub fn tracks_len(&self) -> usize
pub fn raw(&self) -> &'album Disc
pub fn iter<'disc>(&'disc self) -> impl Iterator<Item = TrackRef<'album, 'disc>>
Trait Implementations§
Auto Trait Implementations§
impl<'album> Freeze for DiscRef<'album>
impl<'album> RefUnwindSafe for DiscRef<'album>
impl<'album> Send for DiscRef<'album>
impl<'album> Sync for DiscRef<'album>
impl<'album> Unpin for DiscRef<'album>
impl<'album> UnwindSafe for DiscRef<'album>
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