Enum coaster::hardware::HardwareType
source · pub enum HardwareType {
CPU,
GPU,
ACCELERATOR,
OTHER,
}
Expand description
Specifies the available Hardware types.
Variants§
CPU
CPU devices
GPU
GPU devices
ACCELERATOR
Hardware Accelerator devices
OTHER
Used for anything else
Trait Implementations§
source§impl Clone for HardwareType
impl Clone for HardwareType
source§fn clone(&self) -> HardwareType
fn clone(&self) -> HardwareType
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 HardwareType
impl Debug for HardwareType
source§impl Hash for HardwareType
impl Hash for HardwareType
source§impl PartialEq for HardwareType
impl PartialEq for HardwareType
source§fn eq(&self, other: &HardwareType) -> bool
fn eq(&self, other: &HardwareType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HardwareType
impl StructuralPartialEq for HardwareType
Auto Trait Implementations§
impl RefUnwindSafe for HardwareType
impl Send for HardwareType
impl Sync for HardwareType
impl Unpin for HardwareType
impl UnwindSafe for HardwareType
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