#[repr(u8)]pub enum SectorOption {
Cdda {
dap: bool,
},
Mode1 = 2,
Mode2Formless = 3,
Mode2Form1 = 4,
Mode2Form2 = 5,
}Available on crate feature
mmc only.Expand description
Sector type to include.
Variants§
Cdda
IEC 908 (CD-DA) with user data of 2352 bytes.
Mode1 = 2
User data of 2048 bytes.
Mode2Formless = 3
User data of 2336 bytes.
Mode2Form1 = 4
User data of 2048 bytes.
Mode2Form2 = 5
User data of 2324 bytes.
Trait Implementations§
Source§impl Clone for SectorOption
impl Clone for SectorOption
Source§fn clone(&self) -> SectorOption
fn clone(&self) -> SectorOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SectorOption
Source§impl Debug for SectorOption
impl Debug for SectorOption
Source§impl Default for SectorOption
impl Default for SectorOption
Source§fn default() -> SectorOption
fn default() -> SectorOption
Returns the “default value” for a type. Read more
impl Eq for SectorOption
Source§impl Hash for SectorOption
impl Hash for SectorOption
Source§impl Ord for SectorOption
impl Ord for SectorOption
Source§fn cmp(&self, other: &SectorOption) -> Ordering
fn cmp(&self, other: &SectorOption) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SectorOption
impl PartialEq for SectorOption
Source§impl PartialOrd for SectorOption
impl PartialOrd for SectorOption
impl StructuralPartialEq for SectorOption
Auto Trait Implementations§
impl Freeze for SectorOption
impl RefUnwindSafe for SectorOption
impl Send for SectorOption
impl Sync for SectorOption
impl Unpin for SectorOption
impl UnsafeUnpin for SectorOption
impl UnwindSafe for SectorOption
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