Struct metaflac::block::CueSheetTrack[][src]

pub struct CueSheetTrack {
    pub offset: u64,
    pub number: u8,
    pub isrc: String,
    pub is_audio: bool,
    pub pre_emphasis: bool,
    pub indices: Vec<CueSheetTrackIndex>,
}
Expand description

A structure representing a cuesheet track.

Fields

offset: u64

Track offset in samples, relative to the beginning of the FLAC audio stream. It is the offset to the first index point of the track.

number: u8

Track number.

isrc: String

Track ISRC. This is a 12-digit alphanumeric code.

is_audio: bool

The track type.

pre_emphasis: bool

The pre-emphasis flag.

indices: Vec<CueSheetTrackIndex>

For all tracks except the lead-out track, one or more track index points.

Implementations

Returns a new CueSheetTrack of type audio, without pre-emphasis, and with zero/empty values.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.