Struct nalgebra::Identity [] [src]

pub struct Identity;

Special identity matrix. All its operation are no-ops.

Methods

impl Identity
[src]

fn new() -> Identity

Creates a new identity matrix.

Trait Implementations

impl Copy for Identity
[src]

impl Debug for Identity
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 Decodable for Identity
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Identity, __D::Error>

impl Encodable for Identity
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

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) -> bool
1.0.0

This method tests for !=.

impl Eq for Identity
[src]

impl One for Identity
[src]

fn one() -> Identity

Returns the multiplicative identity element of Self, 1. Read more

impl Inv for Identity
[src]

fn inv(&self) -> Option<Identity>

Returns the inverse of m.

fn inv_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 inv_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 inv_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 inv_transform(&self, v: &V) -> V

Applies an inverse transformation to v.