Trait scrapmetal::GenericMutate [] [src]

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

A similar work around as GenericTransform, but mutating in place and optionally returning some query type, rather than taking self and returning the same Self type.

This is roughly equivalent to for<T> FnMut(&mut T) -> R.

Required Methods

Call the query function on any T.

Implementors