Struct nalgebra::Identity
[−]
[src]
pub struct Identity;
Special identity matrix. All its operation are no-ops.
Methods
impl Identity[src]
Trait Implementations
impl Eq for Identity[src]
impl PartialEq for Identity[src]
fn eq(&self, __arg_0: &Identity) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Encodable for Identity[src]
impl Decodable for Identity[src]
impl Clone for Identity[src]
fn clone(&self) -> Identity
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
impl Debug for Identity[src]
impl Copy for Identity[src]
impl Display for Identity[src]
impl One for Identity[src]
impl Inverse for Identity[src]
fn inverse(&self) -> Option<Identity>
Returns the inverse of m.
fn inverse_mut(&mut self) -> bool
In-place version of inverse.
impl<T: Clone> Mul<T> for Identity[src]
type Output = T
The resulting type after applying the * operator
fn mul(self, other: T) -> T
The method for the * operator
impl Transpose for Identity[src]
fn transpose(&self) -> Identity
Computes the transpose of a matrix.
fn transpose_mut(&mut self)
In-place version of transposed.
impl<V: Clone> Translate<V> for Identity[src]
fn translate(&self, v: &V) -> V
Apply a translation to an object.
fn inverse_translate(&self, v: &V) -> V
Apply an inverse translation to an object.
impl<V: Clone> Rotate<V> for Identity[src]
fn rotate(&self, v: &V) -> V
Applies a rotation to v.
fn inverse_rotate(&self, v: &V) -> V
Applies an inverse rotation to v.
impl<V: Clone> AbsoluteRotate<V> for Identity[src]
fn absolute_rotate(&self, v: &V) -> V
This is the same as: Read more
impl<V: Clone> Transform<V> for Identity[src]
fn transform(&self, v: &V) -> V
Applies a transformation to v.
fn inverse_transform(&self, v: &V) -> V
Applies an inverse transformation to v.