pub trait IntoQuery: DefaultFilter + for<'a> View<'a> {
// Required method
fn query() -> Query<Self, <Self as DefaultFilter>::Filter>;
}Expand description
Converts a View into a Query.
Required Methods§
Sourcefn query() -> Query<Self, <Self as DefaultFilter>::Filter>
fn query() -> Query<Self, <Self as DefaultFilter>::Filter>
Converts the View type into a Query.
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.