invariant_functor

Macro invariant_functor 

Source
macro_rules! invariant_functor {
    ($name:ident<$( $t:tt ),+>) => { ... };
    ($name:ident<$( $t:tt ),+>, $ct:tt $(+ $dt:tt )*) => { ... };
}
Expand description

Macro to implement Invariant for types implementing Functor.