[][src]Struct shader_types::Mat3x4

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

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

Fields

inner: [Vec3; 4]

Implementations

impl Mat3x4[src]

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

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

This is supported on crate feature mint only.

Construct a Mat3x4 from any type which is convertable into a mint::ColumnMatrix3x4<f32>.

Trait Implementations

impl Clone for Mat3x4[src]

impl Copy for Mat3x4[src]

impl Debug for Mat3x4[src]

impl Default for Mat3x4[src]

impl From<[[f32; 3]; 4]> for Mat3x4[src]

impl From<[Vec3; 4]> for Mat3x4[src]

impl From<[f32; 12]> for Mat3x4[src]

impl From<ColumnMatrix3x4<f32>> for Mat3x4[src]

impl From<Mat3x4> for ColumnMatrix3x4<f32>[src]

impl From<Mat3x4> for [Vec3; 4][src]

impl From<Mat3x4> for [f32; 12][src]

impl From<Mat3x4> for [[f32; 3]; 4][src]

impl PartialEq<Mat3x4> for Mat3x4[src]

impl PartialOrd<Mat3x4> for Mat3x4[src]

impl Pod for Mat3x4[src]

impl StructuralPartialEq for Mat3x4[src]

impl Zeroable for Mat3x4[src]

Auto Trait Implementations

impl RefUnwindSafe for Mat3x4

impl Send for Mat3x4

impl Sync for Mat3x4

impl Unpin for Mat3x4

impl UnwindSafe for Mat3x4

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.