Enum uefi::device::DevicePathMediaType
source · #[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 copy 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§fn eq(&self, other: &DevicePathMediaType) -> bool
fn eq(&self, other: &DevicePathMediaType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DevicePathMediaType
impl PartialOrd for DevicePathMediaType
source§fn partial_cmp(&self, other: &DevicePathMediaType) -> Option<Ordering>
fn partial_cmp(&self, other: &DevicePathMediaType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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