#[repr(C, align(16))]pub struct F32Matrix4x4(pub F32Vector4, pub F32Vector4, pub F32Vector4, pub F32Vector4);Expand description
Row-major 4x4 float matrix.
Tuple Fields§
§0: F32Vector4§1: F32Vector4§2: F32Vector4§3: F32Vector4Implementations§
Source§impl F32Matrix4x4
impl F32Matrix4x4
Sourcepub fn new(
r0: F32Vector4,
r1: F32Vector4,
r2: F32Vector4,
r3: F32Vector4,
) -> Self
pub fn new( r0: F32Vector4, r1: F32Vector4, r2: F32Vector4, r3: F32Vector4, ) -> Self
Construct from an array of row/column vectors.
Trait Implementations§
Source§impl Clone for F32Matrix4x4
impl Clone for F32Matrix4x4
Source§fn clone(&self) -> F32Matrix4x4
fn clone(&self) -> F32Matrix4x4
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for F32Matrix4x4
impl Debug for F32Matrix4x4
Source§impl From<F32Matrix4x4> for F32ModelMatrix
impl From<F32Matrix4x4> for F32ModelMatrix
Source§fn from(F32Matrix4x4: F32Matrix4x4) -> Self
fn from(F32Matrix4x4: F32Matrix4x4) -> Self
Converts to this type from the input type.
Source§impl From<F32Matrix4x4> for F32PackedModelMatrix
impl From<F32Matrix4x4> for F32PackedModelMatrix
Source§fn from(m: F32Matrix4x4) -> Self
fn from(m: F32Matrix4x4) -> Self
Converts to this type from the input type.
Source§impl From<F32Matrix4x4> for Mat4
impl From<F32Matrix4x4> for Mat4
Source§fn from(F32Matrix4x4: F32Matrix4x4) -> Self
fn from(F32Matrix4x4: F32Matrix4x4) -> Self
Converts to this type from the input type.
Source§impl From<F32ModelMatrix> for F32Matrix4x4
impl From<F32ModelMatrix> for F32Matrix4x4
Source§fn from(F32ModelMatrix: F32ModelMatrix) -> Self
fn from(F32ModelMatrix: F32ModelMatrix) -> Self
Converts to this type from the input type.
Source§impl From<F32PackedModelMatrix> for F32Matrix4x4
impl From<F32PackedModelMatrix> for F32Matrix4x4
Source§fn from(m: F32PackedModelMatrix) -> Self
fn from(m: F32PackedModelMatrix) -> Self
Converts to this type from the input type.
Source§impl From<Mat4> for F32Matrix4x4
impl From<Mat4> for F32Matrix4x4
Source§impl PartialEq for F32Matrix4x4
impl PartialEq for F32Matrix4x4
impl Copy for F32Matrix4x4
impl StructuralPartialEq for F32Matrix4x4
Auto Trait Implementations§
impl Freeze for F32Matrix4x4
impl RefUnwindSafe for F32Matrix4x4
impl Send for F32Matrix4x4
impl Sync for F32Matrix4x4
impl Unpin for F32Matrix4x4
impl UnwindSafe for F32Matrix4x4
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