pub enum TocKind {
Audio,
CDExtra,
DataFirst,
}Expand description
CD Format.
This enum is used to differentiate between audio-only and mixed-mode discs because that ultimately determines the formatting of CDTOC metadata values and various derived third-party IDs.
Variants§
Audio
CDExtra
DataFirst
Mixed w/ Leading Data Session.
This would only be possible with a weird homebrew CD-R; retail CDs place their data sessions at the end.
Implementations§
Trait Implementations§
source§impl Ord for TocKind
impl Ord for TocKind
source§impl PartialEq for TocKind
impl PartialEq for TocKind
source§impl PartialOrd for TocKind
impl PartialOrd for TocKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for TocKind
impl Eq for TocKind
impl StructuralEq for TocKind
impl StructuralPartialEq for TocKind
Auto Trait Implementations§
impl RefUnwindSafe for TocKind
impl Send for TocKind
impl Sync for TocKind
impl Unpin for TocKind
impl UnwindSafe for TocKind
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