pub trait Dependancy {
type ElementBorrowed<'a>;
// Provided method
fn type_ids() -> Box<[TypeId]> { ... }
}
Expand description
A trait that is implemented for all the dependancies of a State
Required Associated Types§
Sourcetype ElementBorrowed<'a>
type ElementBorrowed<'a>
A tuple with all the elements of the dependancy as DependancyView
Provided 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.