[][src]Function axgeom::arr2_as

pub fn arr2_as<B: Copy, A: PrimitiveFrom<B>>(a: [B; 2]) -> [A; 2]

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