Enum popcorn::hardware::HardwareType
[−]
[src]
pub enum HardwareType { CPU, GPU, ACCELERATOR, OTHER, }
Specifies the available Hardware types.
Variants
CPU
CPU devices
GPU
GPU devices
ACCELERATOR
Hardware Accelerator devices
OTHER
Used for anything else
Trait Implementations
impl Debug for HardwareType
[src]
impl Copy for HardwareType
[src]
impl Clone for HardwareType
[src]
fn clone(&self) -> HardwareType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for HardwareType
[src]
fn eq(&self, __arg_0: &HardwareType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.