pub enum DriveMedia {
Disk,
Cdrom,
}Variants§
Trait Implementations§
Source§impl Arbitrary for DriveMedia
impl Arbitrary for DriveMedia
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> DriveMedia>), (u32, Arc<fn() -> DriveMedia>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> DriveMedia>), (u32, Arc<fn() -> DriveMedia>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
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 Display for DriveMedia
impl Display for DriveMedia
Source§impl FromStr for DriveMedia
impl FromStr 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 UnsafeUnpin 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