pub trait AccessQuery {
// Required method
fn query<'c, Q: Query<'c>>(
&'c self,
interrogatee: Entity,
) -> Option<Q::Response>;
}Expand description
Trait for accesses that can execute queries.
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.