[][src]Struct shader_types::Mat4x2

#[repr(C, align(16))]pub struct Mat4x2 {
    pub inner: [Vec4; 2],
}

Matrix of f32s with 4 columns and 2 rows. Alignment 16, size 32.

Fields

inner: [Vec4; 2]

Implementations

impl Mat4x2[src]

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

Trait Implementations

impl Clone for Mat4x2[src]

impl Copy for Mat4x2[src]

impl Debug for Mat4x2[src]

impl Default for Mat4x2[src]

impl From<[[f32; 4]; 2]> for Mat4x2[src]

impl From<[Vec4; 2]> for Mat4x2[src]

impl From<[f32; 8]> for Mat4x2[src]

impl From<Mat4x2> for [Vec4; 2][src]

impl From<Mat4x2> for [f32; 8][src]

impl From<Mat4x2> for [[f32; 4]; 2][src]

impl PartialEq<Mat4x2> for Mat4x2[src]

impl PartialOrd<Mat4x2> for Mat4x2[src]

impl StructuralPartialEq for Mat4x2[src]

Auto Trait Implementations

impl RefUnwindSafe for Mat4x2

impl Send for Mat4x2

impl Sync for Mat4x2

impl Unpin for Mat4x2

impl UnwindSafe for Mat4x2

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.