numtraits

Function cast

Source
pub fn cast<V, T: UpCastAs<V>>(v: V) -> T