[][src]Struct discid::Track

pub struct Track {
    pub number: i32,
    pub offset: i32,
    pub sectors: i32,
    pub isrc: String,
}

Holds information about a single track

Fields

number: i32

Track number (1-99) of the track.

offset: i32

Start offset in sectors.

sectors: i32

Track length in sectors.

isrc: String

ISRC for this track (might be empty).

This will only bet set if DiscId::read_features is called with Features::ISRC.

Trait Implementations

impl Debug for Track[src]

Auto Trait Implementations

impl Send for Track

impl Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

impl RefUnwindSafe for Track

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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