[−][src]Struct pathfinder_geometry::transform2d::Matrix2x2F
A 2x2 matrix, optimized with SIMD, in column-major order.
Methods
impl Matrix2x2F
[src]
pub fn from_scale<S>(scale: S) -> Matrix2x2F where
S: IntoVector2F,
[src]
S: IntoVector2F,
pub fn from_rotation(theta: f32) -> Matrix2x2F
[src]
pub fn from_rotation_vector(vector: UnitVector) -> Matrix2x2F
[src]
pub fn row_major(m00: f32, m01: f32, m10: f32, m11: f32) -> Matrix2x2F
[src]
pub fn entrywise_mul(&self, other: &Matrix2x2F) -> Matrix2x2F
[src]
pub fn adjugate(&self) -> Matrix2x2F
[src]
pub fn det(&self) -> f32
[src]
pub fn inverse(&self) -> Matrix2x2F
[src]
pub fn scale(&self, factor: f32) -> Matrix2x2F
[src]
pub fn extract_scale(&self) -> Vector2F
[src]
Extracts the scale from this matrix.
pub fn m11(&self) -> f32
[src]
pub fn m21(&self) -> f32
[src]
pub fn m12(&self) -> f32
[src]
pub fn m22(&self) -> f32
[src]
Trait Implementations
impl Add<Matrix2x2F> for Matrix2x2F
[src]
type Output = Matrix2x2F
The resulting type after applying the +
operator.
fn add(self, other: Matrix2x2F) -> Matrix2x2F
[src]
impl Clone for Matrix2x2F
[src]
fn clone(&self) -> Matrix2x2F
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Matrix2x2F
[src]
impl Debug for Matrix2x2F
[src]
impl Default for Matrix2x2F
[src]
fn default() -> Matrix2x2F
[src]
impl Mul<Matrix2x2F> for Matrix2x2F
[src]
type Output = Matrix2x2F
The resulting type after applying the *
operator.
fn mul(self, other: Matrix2x2F) -> Matrix2x2F
[src]
impl Mul<Vector2F> for Matrix2x2F
[src]
type Output = Vector2F
The resulting type after applying the *
operator.
fn mul(self, vector: Vector2F) -> Vector2F
[src]
impl Neg for Matrix2x2F
[src]
type Output = Matrix2x2F
The resulting type after applying the -
operator.
fn neg(self) -> Matrix2x2F
[src]
impl PartialEq<Matrix2x2F> for Matrix2x2F
[src]
fn eq(&self, other: &Matrix2x2F) -> bool
[src]
fn ne(&self, other: &Matrix2x2F) -> bool
[src]
impl StructuralPartialEq for Matrix2x2F
[src]
impl Sub<Matrix2x2F> for Matrix2x2F
[src]
type Output = Matrix2x2F
The resulting type after applying the -
operator.
fn sub(self, other: Matrix2x2F) -> Matrix2x2F
[src]
Auto Trait Implementations
impl RefUnwindSafe for Matrix2x2F
impl Send for Matrix2x2F
impl Sync for Matrix2x2F
impl Unpin for Matrix2x2F
impl UnwindSafe for Matrix2x2F
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,