pub fn convert<From, To: SupersetOf<From>>(t: From) -> ToExpand description
Converts an object from one type to an equivalent or more general one.
See also try_convert for conversion to more specific types.
pub fn convert<From, To: SupersetOf<From>>(t: From) -> ToConverts an object from one type to an equivalent or more general one.
See also try_convert for conversion to more specific types.