Enum uefi::device::DevicePathHardwareType
source · #[repr(u8)]pub enum DevicePathHardwareType {
Pci = 1,
Pccard = 2,
Memmap = 3,
Vendor = 4,
Controller = 5,
}
Variants§
Trait Implementations§
source§impl Clone for DevicePathHardwareType
impl Clone for DevicePathHardwareType
source§fn clone(&self) -> DevicePathHardwareType
fn clone(&self) -> DevicePathHardwareType
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 DevicePathHardwareType
impl Debug for DevicePathHardwareType
source§impl Ord for DevicePathHardwareType
impl Ord for DevicePathHardwareType
source§fn cmp(&self, other: &DevicePathHardwareType) -> Ordering
fn cmp(&self, other: &DevicePathHardwareType) -> 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 DevicePathHardwareType
impl PartialEq for DevicePathHardwareType
source§fn eq(&self, other: &DevicePathHardwareType) -> bool
fn eq(&self, other: &DevicePathHardwareType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DevicePathHardwareType
impl PartialOrd for DevicePathHardwareType
source§fn partial_cmp(&self, other: &DevicePathHardwareType) -> Option<Ordering>
fn partial_cmp(&self, other: &DevicePathHardwareType) -> 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 DevicePathHardwareType
impl TryFrom<u8> for DevicePathHardwareType
impl Copy for DevicePathHardwareType
impl Eq for DevicePathHardwareType
impl StructuralPartialEq for DevicePathHardwareType
Auto Trait Implementations§
impl Freeze for DevicePathHardwareType
impl RefUnwindSafe for DevicePathHardwareType
impl Send for DevicePathHardwareType
impl Sync for DevicePathHardwareType
impl Unpin for DevicePathHardwareType
impl UnwindSafe for DevicePathHardwareType
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