Type Alias mat2

Source
pub type mat2<T> = (vec2<T>, vec2<T>);

Trait Implementations§

Source§

impl<T: Copy> Cast<((T, T, T), (T, T, T), (T, T, T))> for mat2<T>

Source§

fn to(((v11, v12, _), (v21, v22, _), _): mat3<T>) -> Self

Source§

impl<T: Copy> Cast<((T, T, T, T), (T, T, T, T), (T, T, T, T), (T, T, T, T))> for mat2<T>

Source§

fn to(((v11, v12, _, _), (v21, v22, _, _), _, _): mat4<T>) -> Self

Source§

impl Cast<Matrix<f16, Const<2>, Const<2>, ArrayStorage<f16, 2, 2>>> for mat2<f16>

Source§

fn to(v: Matrix2<f16>) -> Self

Source§

impl Cast<Matrix<f32, Const<2>, Const<2>, ArrayStorage<f32, 2, 2>>> for mat2<f32>

Source§

fn to(v: Matrix2<f32>) -> Self

Source§

impl Cast<Matrix<f64, Const<2>, Const<2>, ArrayStorage<f64, 2, 2>>> for mat2<f64>

Source§

fn to(v: Matrix2<f64>) -> Self

Source§

impl Cast<Matrix<i128, Const<2>, Const<2>, ArrayStorage<i128, 2, 2>>> for mat2<i128>

Source§

fn to(v: Matrix2<i128>) -> Self

Source§

impl Cast<Matrix<i16, Const<2>, Const<2>, ArrayStorage<i16, 2, 2>>> for mat2<i16>

Source§

fn to(v: Matrix2<i16>) -> Self

Source§

impl Cast<Matrix<i32, Const<2>, Const<2>, ArrayStorage<i32, 2, 2>>> for mat2<i32>

Source§

fn to(v: Matrix2<i32>) -> Self

Source§

impl Cast<Matrix<i64, Const<2>, Const<2>, ArrayStorage<i64, 2, 2>>> for mat2<i64>

Source§

fn to(v: Matrix2<i64>) -> Self

Source§

impl Cast<Matrix<i8, Const<2>, Const<2>, ArrayStorage<i8, 2, 2>>> for mat2<i8>

Source§

fn to(v: Matrix2<i8>) -> Self

Source§

impl Cast<Matrix<u128, Const<2>, Const<2>, ArrayStorage<u128, 2, 2>>> for mat2<u128>

Source§

fn to(v: Matrix2<u128>) -> Self

Source§

impl Cast<Matrix<u16, Const<2>, Const<2>, ArrayStorage<u16, 2, 2>>> for mat2<u16>

Source§

fn to(v: Matrix2<u16>) -> Self

Source§

impl Cast<Matrix<u32, Const<2>, Const<2>, ArrayStorage<u32, 2, 2>>> for mat2<u32>

Source§

fn to(v: Matrix2<u32>) -> Self

Source§

impl Cast<Matrix<u64, Const<2>, Const<2>, ArrayStorage<u64, 2, 2>>> for mat2<u64>

Source§

fn to(v: Matrix2<u64>) -> Self

Source§

impl Cast<Matrix<u8, Const<2>, Const<2>, ArrayStorage<u8, 2, 2>>> for mat2<u8>

Source§

fn to(v: Matrix2<u8>) -> Self