Struct coaster::backend::BackendConfig
source · pub struct BackendConfig<'a, F: IFramework + 'a> { /* private fields */ }
Expand description
Provides Backend Configuration.
Use it to initialize a new Backend.
Implementations§
source§impl<'a, F: IFramework + Clone> BackendConfig<'a, F>
impl<'a, F: IFramework + Clone> BackendConfig<'a, F>
sourcepub fn new(framework: F, hardwares: &'a [F::H]) -> BackendConfig<'a, F>
pub fn new(framework: F, hardwares: &'a [F::H]) -> BackendConfig<'a, F>
Creates a new BackendConfig.
Trait Implementations§
source§impl<'a, F: Clone + IFramework + 'a> Clone for BackendConfig<'a, F>
impl<'a, F: Clone + IFramework + 'a> Clone for BackendConfig<'a, F>
source§fn clone(&self) -> BackendConfig<'a, F>
fn clone(&self) -> BackendConfig<'a, F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, F> RefUnwindSafe for BackendConfig<'a, F>
impl<'a, F> Send for BackendConfig<'a, F>
impl<'a, F> Sync for BackendConfig<'a, F>
impl<'a, F> Unpin for BackendConfig<'a, F>where
F: Unpin,
impl<'a, F> UnwindSafe for BackendConfig<'a, 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