Function piston_window::math::cast[][src]

pub fn cast<T, U>(a: [T; 2]) -> [U; 2] where
    T: Copy + Cast<U>, 

Converts to another vector type.