Enum collenchyma::device::DeviceType [] [src]

pub enum DeviceType {
    Native(Cpu),
    OpenCL(OpenCLContext),
    Cuda(CudaContext),
}

Container for all known IDevice implementations

Variants

A native CPU

A OpenCL Context

A Cuda Context

Trait Implementations

impl Debug for DeviceType
[src]

Formats the value using the given formatter.

impl Eq for DeviceType
[src]

impl PartialEq for DeviceType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for DeviceType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for DeviceType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more