pub struct Mat22<T>(pub [[T; 2]; 2]);Expand description
Matrix N×M.
Tuple Fields§
§0: [[T; 2]; 2]Implementations§
Trait Implementations§
Source§impl<T> Ord for Mat22<T>where
T: Ord,
impl<T> Ord for Mat22<T>where
T: Ord,
Source§impl<T> PartialOrd for Mat22<T>where
T: PartialOrd,
impl<T> PartialOrd for Mat22<T>where
T: PartialOrd,
Source§impl<'a> Uniformable<'a, Mat22<f32>> for GL33
impl<'a> Uniformable<'a, Mat22<f32>> for GL33
type Target = Mat22<f32>
Source§unsafe fn ty() -> UniformType
unsafe fn ty() -> UniformType
Reify the type of the uniform as a
UniformType.impl<T> Copy for Mat22<T>where
T: Copy,
impl<T> Eq for Mat22<T>where
T: Eq,
impl<T> StructuralPartialEq for Mat22<T>
Auto Trait Implementations§
impl<T> Freeze for Mat22<T>where
T: Freeze,
impl<T> RefUnwindSafe for Mat22<T>where
T: RefUnwindSafe,
impl<T> Send for Mat22<T>where
T: Send,
impl<T> Sync for Mat22<T>where
T: Sync,
impl<T> Unpin for Mat22<T>where
T: Unpin,
impl<T> UnwindSafe for Mat22<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