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
§Audio-Only.
CDExtra
§Mixed w/ Trailing Data Session.
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 PartialOrd for TocKind
impl PartialOrd for TocKind
impl Copy for TocKind
impl Eq for TocKind
impl StructuralPartialEq for TocKind
Auto Trait Implementations§
impl Freeze for TocKind
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