[][src]Struct shipyard_scenegraph::Matrix4

#[repr(C)]pub struct Matrix4(pub [f64; 16]);

Implementations

impl Matrix4[src]

pub fn new(
    a: f64,
    b: f64,
    c: f64,
    d: f64,
    e: f64,
    f: f64,
    g: f64,
    h: f64,
    i: f64,
    j: f64,
    k: f64,
    l: f64,
    m: f64,
    n: f64,
    o: f64,
    p: f64
) -> Self
[src]

Trait Implementations

impl AsRef<Matrix4> for Matrix4[src]

impl AsSliceExt for Matrix4[src]

impl Clone for Matrix4[src]

impl Debug for Matrix4[src]

impl<'_> From<&'_ [f64]> for Matrix4[src]

impl<'a> FromSliceExt<'a> for Matrix4[src]

impl<'a> MathContainer<'a> for Matrix4[src]

impl MatrixExt for Matrix4[src]

fn invert_mut(&mut self) -> Result<(), MatrixError>[src]

returns true if it was able to invert, false otherwise

impl<T: AsRef<Matrix4>> Mul<T> for Matrix4[src]

type Output = Matrix4

The resulting type after applying the * operator.

impl<T: AsRef<Matrix4>, '_> Mul<T> for &'_ Matrix4[src]

type Output = Matrix4

The resulting type after applying the * operator.

impl<T: AsRef<Matrix4>> MulAssign<T> for Matrix4[src]

impl PartialEq<Matrix4> for Matrix4[src]

impl StructuralPartialEq for Matrix4[src]

Auto Trait Implementations

impl RefUnwindSafe for Matrix4

impl Send for Matrix4

impl Sync for Matrix4

impl Unpin for Matrix4

impl UnwindSafe for Matrix4

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.