[][src]Struct smth::Mat4

#[repr(C)]pub struct Mat4<T> {
    pub x: Vec4<T>,
    pub y: Vec4<T>,
    pub z: Vec4<T>,
    pub w: Vec4<T>,
}

Fields

x: Vec4<T>y: Vec4<T>z: Vec4<T>w: Vec4<T>

Implementations

impl<T: Number> Mat4<T>[src]

pub const ZERO: Self[src]

pub const ONE: Self[src]

pub fn transpose(&self) -> Self[src]

Trait Implementations

impl<T: Number> Add<Mat4<T>> for Mat4<T>[src]

type Output = Self

The resulting type after applying the + operator.

impl<T: Clone> Clone for Mat4<T>[src]

impl<T: Copy> Copy for Mat4<T>[src]

impl<T: Debug> Debug for Mat4<T>[src]

impl<T: Default> Default for Mat4<T>[src]

impl<'de, T> Deserialize<'de> for Mat4<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Number> Mul<Mat4<T>> for Mat4<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: Number> Mul<T> for Mat4<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: Number> Mul<Vec4<T>> for Mat4<T>[src]

type Output = Vec4<T>

The resulting type after applying the * operator.

impl<T: PartialEq> PartialEq<Mat4<T>> for Mat4<T>[src]

impl<T> Serialize for Mat4<T> where
    T: Serialize
[src]

impl<T> StructuralPartialEq for Mat4<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Mat4<T> where
    T: RefUnwindSafe

impl<T> Send for Mat4<T> where
    T: Send

impl<T> Sync for Mat4<T> where
    T: Sync

impl<T> Unpin for Mat4<T> where
    T: Unpin

impl<T> UnwindSafe for Mat4<T> where
    T: UnwindSafe

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.