Trait scrapmetal::GenericQuery [] [src]

pub trait GenericQuery<R> {
    fn query<T>(&mut self, t: &T) -> R
    where
        T: Term
; }

A similar work around as GenericTransform, but returning a query type, rather than the same type. This is roughly equivalent to for<T> FnMut(&T) -> R.

Required Methods

Call the query function on any T.

Implementors