Enum collenchyma::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

Derived Implementations

impl Hash for HardwareType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for HardwareType

fn eq(&self, __arg_0: &HardwareType) -> bool

fn ne(&self, __arg_0: &HardwareType) -> bool

impl Clone for HardwareType

fn clone(&self) -> HardwareType

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for HardwareType

impl Debug for HardwareType

fn fmt(&self, __arg_0: &mut Formatter) -> Result