[][src]Struct fumarole::math::Mat2

pub struct Mat2<I> { /* fields omitted */ }

Methods

impl<I> Mat2<I>[src]

pub fn new(data: [[I; 2]; 2]) -> Mat2<I>[src]

pub fn from_radians(angle: f32) -> Mat2<f32>[src]

pub fn from_degrees(angle: f32) -> Mat2<f32>[src]

pub fn as_array(self) -> [[I; 2]; 2][src]

Trait Implementations

impl<I> Add<I> for Mat2<I> where
    I: Add<I> + Copy,
    <I as Add<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the + operator.

impl<I> Add<Mat2<I>> for Mat2<I> where
    I: Add<I> + Copy,
    <I as Add<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the + operator.

impl<I> AddAssign<I> for Mat2<I> where
    I: AddAssign<I> + Copy
[src]

impl<I> AddAssign<Mat2<I>> for Mat2<I> where
    I: AddAssign<I> + Copy
[src]

impl<I> Div<I> for Mat2<I> where
    I: Div<I> + Copy,
    <I as Div<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the / operator.

impl<I> Div<Mat2<I>> for Mat2<I> where
    I: Div<I> + Copy,
    <I as Div<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the / operator.

impl<I> DivAssign<I> for Mat2<I> where
    I: DivAssign<I> + Copy
[src]

impl<I> DivAssign<Mat2<I>> for Mat2<I> where
    I: DivAssign<I> + Copy
[src]

impl<I> Mul<I> for Mat2<I> where
    I: Mul<I> + Copy,
    <I as Mul<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the * operator.

impl<I> Mul<Mat2<I>> for Vec2<I> where
    I: Add<I> + Mul<I> + Copy,
    <I as Mul<I>>::Output: Into<I>,
    <I as Add<I>>::Output: Into<I>, 
[src]

type Output = Vec2<I>

The resulting type after applying the * operator.

impl<I> Mul<Mat2<I>> for Mat2<I> where
    I: Mul<I> + Copy,
    <I as Mul<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the * operator.

impl<I> Mul<Vec2<I>> for Mat2<I> where
    I: Add<I> + Mul<I> + Copy,
    <I as Mul<I>>::Output: Into<I>,
    <I as Add<I>>::Output: Into<I>, 
[src]

type Output = Vec2<I>

The resulting type after applying the * operator.

impl<I> MulAssign<I> for Mat2<I> where
    I: MulAssign<I> + Copy
[src]

impl<I> MulAssign<Mat2<I>> for Vec2<I> where
    Vec2<I>: Mul<Mat2<I>> + Clone,
    <Vec2<I> as Mul<Mat2<I>>>::Output: Into<Vec2<I>>, 
[src]

impl<I> MulAssign<Mat2<I>> for Mat2<I> where
    I: MulAssign<I> + Copy
[src]

impl<I> Sub<I> for Mat2<I> where
    I: Sub<I> + Copy,
    <I as Sub<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the - operator.

impl<I> Sub<Mat2<I>> for Mat2<I> where
    I: Sub<I> + Copy,
    <I as Sub<I>>::Output: Into<I>, 
[src]

type Output = Mat2<I>

The resulting type after applying the - operator.

impl<I> SubAssign<I> for Mat2<I> where
    I: SubAssign<I> + Copy
[src]

impl<I> SubAssign<Mat2<I>> for Mat2<I> where
    I: SubAssign<I> + Copy
[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Mat2<I> where
    I: RefUnwindSafe

impl<I> Send for Mat2<I> where
    I: Send

impl<I> Sync for Mat2<I> where
    I: Sync

impl<I> Unpin for Mat2<I> where
    I: Unpin

impl<I> UnwindSafe for Mat2<I> where
    I: 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> SetParameter for T

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.