Function axgeom::arr2_as

source ·
pub fn arr2_as<B: 'static + Copy, A: AsPrimitive<B>>(a: [A; 2]) -> [B; 2]
Expand description

Cast an array of 2 elements of primitive type to another primitive type using “as” on each element.