[][src]Struct cue_sheet::tracklist::Track

pub struct Track {
    pub title: Option<String>,
    pub track_type: TrackType,
    pub duration: Option<Time>,
    pub index: Vec<(u32, Time)>,
    pub number: u32,
    pub performer: Option<String>,
}

One track described by a tracklist.

Fields

title: Option<String>

Title of the track.

track_type: TrackType

Type of the track.

duration: Option<Time>

Duration of the track, if it was possible to determine it.

This is only possible if tracks have index commands attached to them. Also note that with just a cue file it is usually not possible to determine the duration of the last track in the list.

index: Vec<(u32, Time)>

Index commands attached to this track (if any).

number: u32

Track number as provided in the cue sheet.

performer: Option<String>

The performer of the track if any was stated.

Trait Implementations

impl Clone for Track[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Track> for Track[src]

impl Eq for Track[src]

impl Debug for Track[src]

Auto Trait Implementations

impl Send for Track

impl Sync for Track

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]