[][src]Struct shader_types::DMat2x4

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

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

Fields

inner: [DVec2; 4]

Implementations

impl DMat2x4[src]

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

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

This is supported on crate feature mint only.

Construct a DMat2x4 from any type which is convertable into a mint::ColumnMatrix2x4<f64>.

Trait Implementations

impl Clone for DMat2x4[src]

impl Copy for DMat2x4[src]

impl Debug for DMat2x4[src]

impl Default for DMat2x4[src]

impl From<[[f64; 2]; 4]> for DMat2x4[src]

impl From<[DVec2; 4]> for DMat2x4[src]

impl From<[f64; 8]> for DMat2x4[src]

impl From<ColumnMatrix2x4<f64>> for DMat2x4[src]

impl From<DMat2x4> for ColumnMatrix2x4<f64>[src]

impl From<DMat2x4> for [DVec2; 4][src]

impl From<DMat2x4> for [f64; 8][src]

impl From<DMat2x4> for [[f64; 2]; 4][src]

impl PartialEq<DMat2x4> for DMat2x4[src]

impl PartialOrd<DMat2x4> for DMat2x4[src]

impl Pod for DMat2x4[src]

impl StructuralPartialEq for DMat2x4[src]

impl Zeroable for DMat2x4[src]

Auto Trait Implementations

impl RefUnwindSafe for DMat2x4

impl Send for DMat2x4

impl Sync for DMat2x4

impl Unpin for DMat2x4

impl UnwindSafe for DMat2x4

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.