Function rin::math::convert_ref [−][src]
pub fn convert_ref<From, To>(t: &From) -> To where
To: SupersetOf<From>,
Converts an object from one type to an equivalent or more general one.
pub fn convert_ref<From, To>(t: &From) -> To where
To: SupersetOf<From>,
Converts an object from one type to an equivalent or more general one.