Trait Mat3Ext

Source
pub trait Mat3Ext {
    type SymmetricMat3;

    // Required methods
    fn mul_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self;
    fn add_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self;
    fn sub_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self;
}
Expand description

An extension trait for 3x3 matrices.

Required Associated Types§

Source

type SymmetricMat3

The type of the symmetric 3x3 matrix.

Required Methods§

Source

fn mul_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self

Multiplies self by a symmetric 3x3 matrix.

Source

fn add_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self

Adds a symmetric 3x3 matrix to self.

Source

fn sub_symmetric_mat3(&self, rhs: &Self::SymmetricMat3) -> Self

Subtracts a symmetric 3x3 matrix from self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Mat3Ext for Mat3

Source§

impl Mat3Ext for DMat3

Implementors§