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