Skip to main content

CreateQuery

Trait CreateQuery 

Source
pub trait CreateQuery<E> {
    // Required method
    fn query_expr(index: usize, at: Rotation) -> E;
}
Expand description

Trait for constructing queries as expressions.

Required Methods§

Source

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.

Implementors§