pub struct Backend<F: IFramework> {
pub framework: Box<F>,
/* private fields */
}
Expand description
Defines the main and highest struct of Coaster.
Fields§
§framework: Box<F>
Provides the Framework.
The Framework implementation such as OpenCL, CUDA, etc. defines, which should be used and determines which hardwares will be available and how parallel kernel functions can be executed.
Default: Native
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for Backend<F>
impl<F> Send for Backend<F>
impl<F> Sync for Backend<F>
impl<F> Unpin for Backend<F>
impl<F> UnwindSafe for Backend<F>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more