fn conversion(target: &TypeInner, source: &TypeInner) -> Option<Conversion>
Expand description
Helper function, returns the type of conversion from source
to target
, if a
conversion is not possible returns None.
fn conversion(target: &TypeInner, source: &TypeInner) -> Option<Conversion>
Helper function, returns the type of conversion from source
to target
, if a
conversion is not possible returns None.