Struct std140::mat3x4[][src]

pub struct mat3x4 { /* fields omitted */ }

A matrix with 3 columns and 4 rows, represented by 3 vec4 vectors.

Example

let value = std140::mat3x4(
    std140::vec4(0.0, 0.0, 0.0, 1.0),
    std140::vec4(0.0, 0.0, 0.0, 1.0),
    std140::vec4(0.0, 0.0, 0.0, 1.0),
);

Implementations

impl mat3x4[src]

pub fn zero() -> Self[src]

Creates a new [mat3x4] with zeros in all positions.

Trait Implementations

impl Clone for mat3x4[src]

impl Copy for mat3x4[src]

impl Deref for mat3x4[src]

type Target = array<vec4, 3>

The resulting type after dereferencing.

impl DerefMut for mat3x4[src]

impl PartialEq<mat3x4> for mat3x4[src]

impl ReprStd140 for mat3x4[src]

impl Std140ArrayElement for mat3x4[src]

impl StructuralPartialEq 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.