[][src]Struct shader_types::Mat4x4

#[repr(C, align(16))]pub struct Mat4x4 {
    pub inner: [Vec4; 4],
    // some fields omitted
}

Matrix of f32 values with 4 rows and 4 columns. Has size 64 and alignment 16.

Fields

inner: [Vec4; 4]

Implementations

impl Mat4x4[src]

pub fn new(inner: [Vec4; 4]) -> Self[src]

pub fn from_mint<T: Into<ColumnMatrix4<f32>>>(value: T) -> Self[src]

This is supported on crate feature mint only.

Construct a Mat4x4 from any type which is convertable into a mint::ColumnMatrix4<f32>.

Trait Implementations

impl Clone for Mat4x4[src]

impl Copy for Mat4x4[src]

impl Debug for Mat4x4[src]

impl Default for Mat4x4[src]

impl From<[[f32; 4]; 4]> for Mat4x4[src]

impl From<[Vec4; 4]> for Mat4x4[src]

impl From<[f32; 16]> for Mat4x4[src]

impl From<ColumnMatrix4<f32>> for Mat4x4[src]

impl From<Mat4x4> for ColumnMatrix4<f32>[src]

impl From<Mat4x4> for [Vec4; 4][src]

impl From<Mat4x4> for [f32; 16][src]

impl From<Mat4x4> for [[f32; 4]; 4][src]

impl PartialEq<Mat4x4> for Mat4x4[src]

impl PartialOrd<Mat4x4> for Mat4x4[src]

impl Pod for Mat4x4[src]

impl StructuralPartialEq for Mat4x4[src]

impl Zeroable for Mat4x4[src]

Auto Trait Implementations

impl RefUnwindSafe for Mat4x4

impl Send for Mat4x4

impl Sync for Mat4x4

impl Unpin for Mat4x4

impl UnwindSafe for Mat4x4

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.