Function nalgebra::cast [] [src]

pub fn cast<T, U: Cast<T>>(t: T) -> U

Converts an object from one type to another.

For primitive types, this is the same as the as keywords. The following properties are preserved by a cast: