#[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 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 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§impl PartialOrd for DevicePathHardwareType
impl PartialOrd for DevicePathHardwareType
Source§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