pub fn convert_ref<From, To: SupersetOf<From>>(t: &From) -> To
Expand description
Converts an object from one type to an equivalent or more general one.
pub fn convert_ref<From, To: SupersetOf<From>>(t: &From) -> To
Converts an object from one type to an equivalent or more general one.