pub trait Instance<C: Class>: Sized + 'static {
// Required methods
fn source(cache: &mut HashSet<u64>) -> String;
fn inst_name() -> String;
}
Expand description
An implementation of an interface in OpenCL.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.