pub trait DeclEngineGet<I, U> {
// Required methods
fn get(&self, index: &I) -> Arc<U>;
fn map<R>(&self, index: &I, f: impl FnOnce(&U) -> R) -> R;
}
Required Methods§
fn get(&self, index: &I) -> Arc<U>
fn map<R>(&self, index: &I, f: impl FnOnce(&U) -> R) -> R
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.