#[repr(C)]pub struct Matrix2<T>(pub [T; 2], pub [T; 2]);Expand description
2x2 matrix
Tuple Fields§
§0: [T; 2]§1: [T; 2]Implementations§
Trait Implementations§
impl<T: Eq> Eq for Matrix2<T>
impl<T> StructuralPartialEq for Matrix2<T>
Auto Trait Implementations§
impl<T> Freeze for Matrix2<T>where
T: Freeze,
impl<T> RefUnwindSafe for Matrix2<T>where
T: RefUnwindSafe,
impl<T> Send for Matrix2<T>where
T: Send,
impl<T> Sync for Matrix2<T>where
T: Sync,
impl<T> Unpin for Matrix2<T>where
T: Unpin,
impl<T> UnwindSafe for Matrix2<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more