Type Definition DynFn
cop::change
type DynFn<T> = dyn Fn(T) -> (Change, T);
Change function.
Takes an input and returns some output, as well as whether the output is different from the input value.