Trait IntoQuery

Source
pub trait IntoQuery: Sized + IntoView {
    // Required method
    fn query() -> Query<Self>;
}
Expand description

A type (typically a view) which can construct a query.

Required Methods§

Source

fn query() -> Query<Self>

Constructs 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.

Implementors§

Source§

impl<T> IntoQuery for T
where T: IntoView,