Struct coaster::backend::Backend [] [src]

pub struct Backend<F: IFramework> { /* fields omitted */ }

Defines the main and highest struct of Coaster.

Methods

impl<F: IFramework + Clone> Backend<F>
[src]

Defines the functionality of the Backend.

Initialize a new native Backend from a BackendConfig.

Returns the available hardware.

Returns the backend framework.

Returns the backend device.

Trait Implementations

impl<F: Debug + IFramework> Debug for Backend<F> where
    F::D: Debug
[src]

Formats the value using the given formatter.

impl<F: Clone + IFramework> Clone for Backend<F> where
    F::D: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IBackend for Backend<Native>
[src]

Represents the Framework of a Backend.

Returns the backend device.

Try to create a default backend.

Synchronize backend.

impl IBackend for Backend<OpenCL>
[src]

Represents the Framework of a Backend.

Returns the backend device.

Try to create a default backend.

Synchronize backend.

impl IBackend for Backend<Cuda>
[src]

Represents the Framework of a Backend.

Returns the backend device.

Synchronize backend.

Try to create a default backend.