#[repr(u8)]pub enum DevicePathMediaType {
Harddrive = 1,
Cdrom = 2,
Vendor = 3,
Filepath = 4,
Protocol = 5,
}Variants§
Trait Implementations§
Source§impl Clone for DevicePathMediaType
impl Clone for DevicePathMediaType
Source§fn clone(&self) -> DevicePathMediaType
fn clone(&self) -> DevicePathMediaType
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 DevicePathMediaType
impl Debug for DevicePathMediaType
Source§impl Ord for DevicePathMediaType
impl Ord for DevicePathMediaType
Source§fn cmp(&self, other: &DevicePathMediaType) -> Ordering
fn cmp(&self, other: &DevicePathMediaType) -> 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 DevicePathMediaType
impl PartialEq for DevicePathMediaType
Source§impl PartialOrd for DevicePathMediaType
impl PartialOrd for DevicePathMediaType
Source§impl TryFrom<u8> for DevicePathMediaType
impl TryFrom<u8> for DevicePathMediaType
impl Copy for DevicePathMediaType
impl Eq for DevicePathMediaType
impl StructuralPartialEq for DevicePathMediaType
Auto Trait Implementations§
impl Freeze for DevicePathMediaType
impl RefUnwindSafe for DevicePathMediaType
impl Send for DevicePathMediaType
impl Sync for DevicePathMediaType
impl Unpin for DevicePathMediaType
impl UnwindSafe for DevicePathMediaType
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