#[repr(C)]pub struct Mat4x4<T> {
pub x: Vec4<T>,
pub y: Vec4<T>,
pub z: Vec4<T>,
pub w: Vec4<T>,
}Expand description
Matrix with 4 columns and 4 rows.
The matrix is stored column-major; that is, each field is a whole column of the matrix.
Fields§
§x: Vec4<T>§y: Vec4<T>§z: Vec4<T>§w: Vec4<T>Implementations§
Trait Implementations§
impl<T: Copy> Copy for Mat4x4<T>
impl<T: Eq> Eq for Mat4x4<T>
impl<T> StructuralPartialEq for Mat4x4<T>
Auto Trait Implementations§
impl<T> Freeze for Mat4x4<T>where
T: Freeze,
impl<T> RefUnwindSafe for Mat4x4<T>where
T: RefUnwindSafe,
impl<T> Send for Mat4x4<T>where
T: Send,
impl<T> Sync for Mat4x4<T>where
T: Sync,
impl<T> Unpin for Mat4x4<T>where
T: Unpin,
impl<T> UnsafeUnpin for Mat4x4<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Mat4x4<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