pub trait TypeMappingFn<'a, TM: TypeMapping>: 'a {
// Required method
fn map_type<'c>(
&self,
inv: TM::InV<'c>,
ty: &CustomType,
) -> Result<TM::OutV<'c>>;
}
Expand description
A helper trait to name the type of the Callback used by
TypeMap<TM>
.