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