Function na::convert_ref

source · []
pub fn convert_ref<From, To>(t: &From) -> To where
    To: SupersetOf<From>, 
Expand description

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

See also: