pub struct CUEFile {
pub files: Vec<String>,
pub title: String,
pub performer: String,
pub catalog: Option<String>,
pub text_file: Option<String>,
pub songwriter: Option<String>,
pub tracks: Vec<(FileID, CUETrack)>,
pub comments: Vec<String>,
}Expand description
Main struct for representing a CUE file
Fields§
§files: Vec<String>The file names referenced by the CUE file
title: StringThe title of the album
performer: StringThe performer of the album
catalog: Option<String>The catalog ID of the album
text_file: Option<String>The name of the CD-TEXT file
songwriter: Option<String>The songwriter of the album
tracks: Vec<(FileID, CUETrack)>Represents which file this track resides in, it is guaranteed that
FileIDs for all CUETracks uses up 0..CUEFile.files.len()
comments: Vec<String>REM comment lines
Implementations§
Trait Implementations§
impl Eq for CUEFile
impl StructuralPartialEq for CUEFile
Auto Trait Implementations§
impl Freeze for CUEFile
impl RefUnwindSafe for CUEFile
impl Send for CUEFile
impl Sync for CUEFile
impl Unpin for CUEFile
impl UnwindSafe for CUEFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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