pub struct TrackMetadata {Show 14 fields
pub title: Option<String>,
pub artist: Option<String>,
pub album: Option<String>,
pub track_number: Option<u32>,
pub disc_number: Option<u32>,
pub genre: Option<String>,
pub year: Option<u32>,
pub cover_art: Option<Vec<u8>>,
pub cover_art_mime: Option<String>,
pub lyrics: Option<String>,
pub rg_track_gain: Option<f64>,
pub rg_track_peak: Option<f64>,
pub rg_album_gain: Option<f64>,
pub rg_album_peak: Option<f64>,
}Expand description
Track metadata extracted from audio file tags.
Fields§
§title: Option<String>§artist: Option<String>§album: Option<String>§track_number: Option<u32>§disc_number: Option<u32>§genre: Option<String>§year: Option<u32>§cover_art: Option<Vec<u8>>§cover_art_mime: Option<String>§lyrics: Option<String>§rg_track_gain: Option<f64>§rg_track_peak: Option<f64>§rg_album_gain: Option<f64>§rg_album_peak: Option<f64>Trait Implementations§
Source§impl Clone for TrackMetadata
impl Clone for TrackMetadata
Source§fn clone(&self) -> TrackMetadata
fn clone(&self) -> TrackMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackMetadata
impl Debug for TrackMetadata
Source§impl Default for TrackMetadata
impl Default for TrackMetadata
Source§fn default() -> TrackMetadata
fn default() -> TrackMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrackMetadata
impl RefUnwindSafe for TrackMetadata
impl Send for TrackMetadata
impl Sync for TrackMetadata
impl Unpin for TrackMetadata
impl UnsafeUnpin for TrackMetadata
impl UnwindSafe for TrackMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more