pub struct QueryPlanner {
pub filter: Option<FilterExpr>,
}Expand description
QueryPlanner
Fields§
§filter: Option<FilterExpr>Implementations§
Source§impl QueryPlanner
impl QueryPlanner
Sourcepub fn new(filter: Option<&FilterExpr>) -> QueryPlanner
pub fn new(filter: Option<&FilterExpr>) -> QueryPlanner
Create a planner from an optional filter expression.
Sourcepub fn plan<E>(&self) -> QueryPlanwhere
E: EntityKind,
pub fn plan<E>(&self) -> QueryPlanwhere
E: EntityKind,
Generate a query plan for the given entity type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPlanner
impl RefUnwindSafe for QueryPlanner
impl Send for QueryPlanner
impl Sync for QueryPlanner
impl Unpin for QueryPlanner
impl UnwindSafe for QueryPlanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more