#[repr(C)]pub struct Matrix4<T>(pub [T; 4], pub [T; 4], pub [T; 4], pub [T; 4]);Expand description
4x4 matrix
Tuple Fields§
§0: [T; 4]§1: [T; 4]§2: [T; 4]§3: [T; 4]Implementations§
Trait Implementations§
Source§impl<T> From<Quaternion<T>> for Matrix4<T>
impl<T> From<Quaternion<T>> for Matrix4<T>
Source§fn from(Quaternion: Quaternion<T>) -> Self
fn from(Quaternion: Quaternion<T>) -> Self
Converts to this type from the input type.
impl<T: Eq> Eq for Matrix4<T>
impl<T> StructuralPartialEq for Matrix4<T>
Auto Trait Implementations§
impl<T> Freeze for Matrix4<T>where
T: Freeze,
impl<T> RefUnwindSafe for Matrix4<T>where
T: RefUnwindSafe,
impl<T> Send for Matrix4<T>where
T: Send,
impl<T> Sync for Matrix4<T>where
T: Sync,
impl<T> Unpin for Matrix4<T>where
T: Unpin,
impl<T> UnwindSafe for Matrix4<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