[][src]Struct smth::Mat4

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

Fields

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

Implementations

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

pub const ZERO: Self[src]

pub const ONE: Self[src]

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

Trait Implementations

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

type Output = Self

The resulting type after applying the + operator.

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

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

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

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

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

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

type Output = Self

The resulting type after applying the * operator.

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

type Output = Self

The resulting type after applying the * operator.

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

type Output = Vec4<S>

The resulting type after applying the * operator.

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

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

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

Auto Trait Implementations

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

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

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

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

impl<S> UnwindSafe for Mat4<S> where
    S: 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.