Enum sierra::DeviceKind
source · pub enum DeviceKind {
Software,
Integrated,
Discrete,
}
Expand description
Kind of the device.
Variants§
Software
Device is sowtware emulated.
Integrated
Device is integrate piece of hardware (typically into CPU)
Discrete
Device is discrete piece of hardware.
Trait Implementations§
source§impl Clone for DeviceKind
impl Clone for DeviceKind
source§fn clone(&self) -> DeviceKind
fn clone(&self) -> DeviceKind
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 DeviceKind
impl Debug for DeviceKind
source§impl Ord for DeviceKind
impl Ord for DeviceKind
source§fn cmp(&self, other: &DeviceKind) -> Ordering
fn cmp(&self, other: &DeviceKind) -> 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<DeviceKind> for DeviceKind
impl PartialEq<DeviceKind> for DeviceKind
source§fn eq(&self, other: &DeviceKind) -> bool
fn eq(&self, other: &DeviceKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeviceKind> for DeviceKind
impl PartialOrd<DeviceKind> for DeviceKind
source§fn partial_cmp(&self, other: &DeviceKind) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceKind) -> 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 more