#[non_exhaustive]#[repr(u8)]pub enum MmcLoadMech {
CaddySlot = 0,
Tray = 1,
PopUp = 2,
EmbeddedChangerIndividualDiscs = 4,
EmbeddedChangerMagazine = 5,
}Available on crate feature
mmc only.Expand description
Loading mechanism type used by the drive.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CaddySlot = 0
Caddy/Slot type
Tray = 1
Tray type
PopUp = 2
Pop-up type
EmbeddedChangerIndividualDiscs = 4
Embedded changer with individually changeable discs
EmbeddedChangerMagazine = 5
Embedded changer using a magazine mechanism
Trait Implementations§
Source§impl Clone for MmcLoadMech
impl Clone for MmcLoadMech
Source§fn clone(&self) -> MmcLoadMech
fn clone(&self) -> MmcLoadMech
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 MmcLoadMech
Source§impl Debug for MmcLoadMech
impl Debug for MmcLoadMech
Source§impl Default for MmcLoadMech
impl Default for MmcLoadMech
Source§fn default() -> MmcLoadMech
fn default() -> MmcLoadMech
Returns the “default value” for a type. Read more
Source§impl Display for MmcLoadMech
impl Display for MmcLoadMech
impl Eq for MmcLoadMech
Source§impl Hash for MmcLoadMech
impl Hash for MmcLoadMech
Source§impl Ord for MmcLoadMech
impl Ord for MmcLoadMech
Source§fn cmp(&self, other: &MmcLoadMech) -> Ordering
fn cmp(&self, other: &MmcLoadMech) -> 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 MmcLoadMech
impl PartialEq for MmcLoadMech
Source§impl PartialOrd for MmcLoadMech
impl PartialOrd for MmcLoadMech
impl StructuralPartialEq for MmcLoadMech
Source§impl TryFrom<u8> for MmcLoadMech
impl TryFrom<u8> for MmcLoadMech
Source§type Error = TryFromPrimitiveError<MmcLoadMech>
type Error = TryFromPrimitiveError<MmcLoadMech>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for MmcLoadMech
impl TryFromPrimitive for MmcLoadMech
const NAME: &'static str = "MmcLoadMech"
type Primitive = u8
type Error = TryFromPrimitiveError<MmcLoadMech>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for MmcLoadMech
impl RefUnwindSafe for MmcLoadMech
impl Send for MmcLoadMech
impl Sync for MmcLoadMech
impl Unpin for MmcLoadMech
impl UnsafeUnpin for MmcLoadMech
impl UnwindSafe for MmcLoadMech
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