[][src]Struct xvmath::mat

#[repr(C, align(32))]pub struct mat(pub vec, pub vec, pub vec, pub vec);

Implementations

impl mat[src]

pub fn rotz(ang: f32) -> mat[src]

pub fn inv(&self) -> mat[src]

pub fn tpos(&self) -> mat[src]

pub fn axang(ax: vec, ang: f32) -> mat[src]

Trait Implementations

impl Add<mat> for mat[src]

type Output = mat

The resulting type after applying the + operator.

impl Clone for mat[src]

impl Copy for mat[src]

impl Debug for mat[src]

impl Default for mat[src]

impl Mul<mat> for vec[src]

type Output = vec

The resulting type after applying the * operator.

impl Mul<mat> for mat[src]

type Output = mat

The resulting type after applying the * operator.

impl Mul<vec> for mat[src]

type Output = vec

The resulting type after applying the * operator.

impl Sub<mat> for mat[src]

type Output = mat

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for mat

impl Send for mat

impl Sync for mat

impl Unpin for mat

impl UnwindSafe for mat

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.