Function cast

Source
pub fn cast<T1, T2>(elem: T1) -> T2
where T1: Into<T2>,