Struct coaster::frameworks::native::Native
[−]
[src]
pub struct Native { /* fields omitted */ }
Provides the Native framework.
Native means host CPU only. The setup one relies on by default.
Trait Implementations
impl Debug for Native
[src]
impl Clone for Native
[src]
fn clone(&self) -> Native
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 INative for Native
[src]
impl IFramework for Native
[src]
type H = Hardware
The Hardware representation for this Framework.
type D = Cpu
The Device representation for this Framework.
type B = Binary
The Binary representation for this Framework.
fn ID() -> &'static str
Defines the Framework by a Name. Read more
fn new() -> Native
Initializes a new Framework. Read more
fn load_hardwares() -> Result<Vec<Hardware>, Error>
Initializes all the available hardwares.
fn hardwares(&self) -> &[Hardware]
Returns the cached and available hardwares.
fn binary(&self) -> &Binary
Returns the initialized binary.
fn new_device(&self, devices: &[Hardware]) -> Result<Self::D, Error>
Initializes a new Device from the provided hardwares.