Struct collenchyma::frameworks::native::Native [] [src]

pub struct Native {
    // some fields omitted
}

Provides the Native framework.

Native means host CPU only. The setup one relies on by default.

Trait Implementations

impl INative for Native

impl IFramework for Native

type H = Hardware

type D = Cpu

type B = Binary

fn ID() -> &'static str

fn new() -> Native

fn load_hardwares() -> Result<Vec<Hardware>, Error>

fn hardwares(&self) -> &[Hardware]

fn binary(&self) -> &Binary

fn new_device(&self, devices: &[Hardware]) -> Result<DeviceType, Error>

Derived Implementations

impl Clone for Native

fn clone(&self) -> Native

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

impl Debug for Native

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