Function rin_core::math::convert[][src]

pub fn convert<From, To>(t: From) -> To where
    To: SupersetOf<From>, 

Converts an object from one type to an equivalent or more general one.

See also try_convert for conversion to more specific types.

See also: