Trait mem_query::query::filter::QueryFilter[][src]

pub trait QueryFilter: Clone {
    type ReqCols: Header;
    fn test_record(&self, _: &impl Record) -> bool;

    fn bounds_of<C: Col + Ord>(&self) -> (Bound<&C>, Bound<&C>) { ... }
}

Associated Types

Required methods

fn test_record(&self, _: &impl Record) -> bool[src]

Provided methods

fn bounds_of<C: Col + Ord>(&self) -> (Bound<&C>, Bound<&C>)[src]

Implementations on Foreign Types

impl QueryFilter for HNil[src]

type ReqCols = HNil

fn test_record(&self, _: &impl Record) -> bool[src]

fn bounds_of<C: Col + Ord>(&self) -> (Bound<&C>, Bound<&C>)[src]

impl<H, T, UnionCols> QueryFilter for HCons<H, T> where
    H: QueryFilter,
    T: QueryFilter,
    HCons<Union, HCons<Quote<H::ReqCols>, HCons<Quote<T::ReqCols>, HNil>>>: Eval<Result = UnionCols>,
    UnionCols: Header
[src]

type ReqCols = UnionCols

fn test_record(&self, rec: &impl Record) -> bool[src]

fn bounds_of<C: Col + Ord>(&self) -> (Bound<&C>, Bound<&C>)[src]

Implementors

impl<T: ColProxy + Clone> QueryFilter for Exact<T> where
    T::For: PartialEq
[src]

type ReqCols = HCons<T::For, HNil>

fn test_record(&self, rec: &impl Record) -> bool[src]

fn bounds_of<C: Col + Ord>(&self) -> (Bound<&C>, Bound<&C>)[src]