Function na::convert

source ·
pub fn convert<From, To>(t: From) -> Towhere
    To: SupersetOf<From>,
Expand description

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: