Struct hagane_simd::matrix::float2x2
[−]
[src]
#[repr(C)]pub struct float2x2(pub float2, pub float2);
Methods
impl float2x2
[src]
fn identity(self) -> float2x2
fn linear_combination(a: f32, x: float2x2, b: f32, y: float2x2) -> float2x2
fn transpose(self) -> float2x2
fn inverse(self) -> float2x2
Trait Implementations
impl Add for float2x2
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, other: Self) -> Self
The method for the +
operator
impl Sub for float2x2
[src]
type Output = Self
The resulting type after applying the -
operator
fn sub(self, other: Self) -> Self
The method for the -
operator
impl Mul for float2x2
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, other: Self) -> Self
The method for the *
operator
impl Mul<float2> for float2x2
[src]
type Output = float2
The resulting type after applying the *
operator
fn mul(self, other: float2) -> float2
The method for the *
operator
impl Mul<f32> for float2x2
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, other: f32) -> Self
The method for the *
operator
impl Dot<float2x2> for float2x2
[src]
type DotProduct = float2x2
fn dot(self, other: float2x2) -> float2x2
impl Dot<float2> for float2x2
[src]
type DotProduct = float2
fn dot(self, other: float2) -> float2
impl Copy for float2x2
[src]
impl Clone for float2x2
[src]
fn clone(&self) -> float2x2
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more