[][src]Function axgeom::arr2_as

#[must_use]pub fn arr2_as<B: 'static + Copy, A: AsPrimitive<B>>(a: [A; 2]) -> [B; 2]

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