pub struct RawTrackIdentifier<'album_id> {
pub album_id: Cow<'album_id, str>,
pub disc_id: NonZeroU8,
pub track_id: NonZeroU8,
}Fields§
§album_id: Cow<'album_id, str>§disc_id: NonZeroU8§track_id: NonZeroU8Implementations§
Trait Implementations§
Source§impl<'a> Borrow<RawTrackIdentifier<'a>> for TrackIdentifier
impl<'a> Borrow<RawTrackIdentifier<'a>> for TrackIdentifier
Source§fn borrow(&self) -> &RawTrackIdentifier<'a>
fn borrow(&self) -> &RawTrackIdentifier<'a>
Immutably borrows from an owned value. Read more
Source§impl<'a> Clone for RawTrackIdentifier<'a>
impl<'a> Clone for RawTrackIdentifier<'a>
Source§impl<'album_id> Hash for RawTrackIdentifier<'album_id>
impl<'album_id> Hash for RawTrackIdentifier<'album_id>
Source§impl<'album_id> PartialEq for RawTrackIdentifier<'album_id>
impl<'album_id> PartialEq for RawTrackIdentifier<'album_id>
Source§fn eq(&self, other: &RawTrackIdentifier<'album_id>) -> bool
fn eq(&self, other: &RawTrackIdentifier<'album_id>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'album_id> Eq for RawTrackIdentifier<'album_id>
impl<'album_id> StructuralPartialEq for RawTrackIdentifier<'album_id>
Auto Trait Implementations§
impl<'album_id> Freeze for RawTrackIdentifier<'album_id>
impl<'album_id> RefUnwindSafe for RawTrackIdentifier<'album_id>
impl<'album_id> Send for RawTrackIdentifier<'album_id>
impl<'album_id> Sync for RawTrackIdentifier<'album_id>
impl<'album_id> Unpin for RawTrackIdentifier<'album_id>
impl<'album_id> UnwindSafe for RawTrackIdentifier<'album_id>
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