pub trait CreateQuery<E> {
// Required method
fn query_expr(index: usize, at: Rotation) -> E;
}Expand description
Trait for constructing queries as expressions.
Required Methods§
Sourcefn query_expr(index: usize, at: Rotation) -> E
fn query_expr(index: usize, at: Rotation) -> E
Constructs an expression representing the 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.