as_cast

Function as_cast 

Source
pub fn as_cast<U: AsCast, T: AsCast>(t: T) -> U
Expand description

Allows the high-level conversion of generic types as if as was used.