pub trait Query<'w> {
type Iter: Iterator + 'w;
// Required methods
fn select(container: &'w Container) -> Self::Iter;
fn matches(container: &'w Container) -> bool;
}Expand description
Trait definition of a Query
Required Associated Types§
Required Methods§
fn select(container: &'w Container) -> Self::Iter
fn matches(container: &'w Container) -> bool
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.