Struct vecmat::transform::Linear[][src]

#[repr(transparent)]pub struct Linear<T, const N: usize> { /* fields omitted */ }

Linear transformation.

Implementations

impl<T, const N: usize> Linear<T, N>[src]

pub fn from_matrix(lin: Matrix<T, N, N>) -> Self[src]

pub fn into_matrix(self) -> Matrix<T, N, N>[src]

impl<T> Linear<T, 3> where
    T: Float
[src]

pub fn look_at(dir: Vector<T, 3>, up: Vector<T, 3>) -> Self[src]

impl<T> Linear<T, 3> where
    T: Float + NumCast
[src]

pub fn look_at_any(dir: Vector<T, 3>) -> Self[src]

Trait Implementations

impl<T, const N: usize> AbsDiffEq<Linear<T, N>> for Linear<T, N> where
    T: AbsDiffEq<Epsilon = T> + Copy
[src]

type Epsilon = T

Used for specifying relative comparisons.

impl<T: Clone, const N: usize> Clone for Linear<T, N>[src]

impl<T: Copy, const N: usize> Copy for Linear<T, N>[src]

impl<T: Debug, const N: usize> Debug for Linear<T, N>[src]

impl<T, const N: usize> Distribution<Linear<T, N>> for Normal where
    Normal: Distribution<Matrix<T, N, N>>, 
[src]

impl<T, const N: usize> Distribution<Linear<T, N>> for Invertible where
    Invertible: Distribution<Matrix<T, N, N>>, 
[src]

impl<T, const N: usize> From<Linear<T, N>> for Matrix<T, N, N>[src]

impl<T, const N: usize> From<Matrix<T, N, N>> for Linear<T, N>[src]

impl<T: PartialEq, const N: usize> PartialEq<Linear<T, N>> for Linear<T, N>[src]

impl<T, const N: usize> StructuralPartialEq for Linear<T, N>[src]

impl<T, const N: usize> Transform<T, N> for Linear<T, N> where
    T: Neg<Output = T> + Num + Copy
[src]

Auto Trait Implementations

impl<T, const N: usize> RefUnwindSafe for Linear<T, N> where
    T: RefUnwindSafe

impl<T, const N: usize> Send for Linear<T, N> where
    T: Send

impl<T, const N: usize> Sync for Linear<T, N> where
    T: Sync

impl<T, const N: usize> Unpin for Linear<T, N> where
    T: Unpin

impl<T, const N: usize> UnwindSafe for Linear<T, N> 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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,