pub enum DriveMedia {
Disk,
Cdrom,
}Variants§
Trait Implementations§
Source§impl Clone for DriveMedia
impl Clone for DriveMedia
Source§fn clone(&self) -> DriveMedia
fn clone(&self) -> DriveMedia
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriveMedia
impl Debug for DriveMedia
Source§impl Hash for DriveMedia
impl Hash for DriveMedia
Source§impl Ord for DriveMedia
impl Ord for DriveMedia
Source§fn cmp(&self, other: &DriveMedia) -> Ordering
fn cmp(&self, other: &DriveMedia) -> Ordering
1.21.0 · 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 DriveMedia
impl PartialEq for DriveMedia
Source§impl PartialOrd for DriveMedia
impl PartialOrd for DriveMedia
impl Eq for DriveMedia
impl StructuralPartialEq for DriveMedia
Auto Trait Implementations§
impl Freeze for DriveMedia
impl RefUnwindSafe for DriveMedia
impl Send for DriveMedia
impl Sync for DriveMedia
impl Unpin for DriveMedia
impl UnwindSafe for DriveMedia
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