pub trait TypedRelationLookupFetch<'a> {
type Value;
type Access;
// Required methods
fn access(world: &'a World, entity: Entity) -> Self::Access;
fn fetch(access: &mut Self::Access) -> Option<Self::Value>;
}Required Associated Types§
Required Methods§
fn access(world: &'a World, entity: Entity) -> Self::Access
fn fetch(access: &mut Self::Access) -> Option<Self::Value>
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.