pub fn as_cast<U: AsCast, T: AsCast>(t: T) -> U
Allows the high-level conversion of generic types as if as was used.
as