pub trait HasDepContext: Copy {
type Deps: Deps;
type DepContext: DepContext<Deps = Self::Deps>;
// Required method
fn dep_context(&self) -> &Self::DepContext;
}
Required Associated Types§
type Deps: Deps
type DepContext: DepContext<Deps = Self::Deps>
Required Methods§
fn dep_context(&self) -> &Self::DepContext
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.