Trait kaige::IntoQuery

source ·
pub trait IntoQuery: IntoView + Sized {
    // 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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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