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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CueSheetTrack
impl Send for CueSheetTrack
impl Sync for CueSheetTrack
impl Unpin for CueSheetTrack
impl UnwindSafe for CueSheetTrack
Blanket Implementations
Mutably borrows from an owned value. Read more