pub struct ComputeModelLib { /* private fields */ }Expand description
Loadable library that registers the modeled compute site.
Implementations§
Source§impl ComputeModelLib
impl ComputeModelLib
Sourcepub fn new(profile: ModeledComputeProfile) -> Self
pub fn new(profile: ModeledComputeProfile) -> Self
Builds a modeled compute library from a profile.
Trait Implementations§
Source§impl Clone for ComputeModelLib
impl Clone for ComputeModelLib
Source§fn clone(&self) -> ComputeModelLib
fn clone(&self) -> ComputeModelLib
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComputeModelLib
impl Debug for ComputeModelLib
Source§impl Default for ComputeModelLib
impl Default for ComputeModelLib
Source§fn default() -> ComputeModelLib
fn default() -> ComputeModelLib
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ComputeModelLib
impl RefUnwindSafe for ComputeModelLib
impl Send for ComputeModelLib
impl Sync for ComputeModelLib
impl Unpin for ComputeModelLib
impl UnsafeUnpin for ComputeModelLib
impl UnwindSafe for ComputeModelLib
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