Struct ggez::graphics::na::Id []

#[repr(C)]
pub struct Id<O = Multiplicative> where
    O: Operator, 
{ /* fields omitted */ }

The universal identity element wrt. a given operator, usually noted Id with a context-dependent subscript.

By default, it is the multiplicative identity element. It represents the degenerate set containing only the identity element of any group-like structure. It has no dimension known at compile-time. All its operations are no-ops.

Methods

impl<O> Id<O> where
    O: Operator, 

Creates a new identity element.

Trait Implementations

impl<O> Copy for Id<O> where
    O: Operator, 

impl<E> Rotation<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<O> Lattice for Id<O> where
    O: Operator, 

impl<O> ApproxEq for Id<O> where
    O: Operator, 

impl<O> Clone for Id<O> where
    O: Operator, 

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E> DirectIsometry<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<E> Translation<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<E> OrthogonalTransformation<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl Div<Id<Multiplicative>> for Id<Multiplicative>

impl<O> AbstractQuasigroup<O> for Id<O> where
    O: Operator, 

impl<O> MeetSemilattice for Id<O> where
    O: Operator, 

impl DivAssign<Id<Multiplicative>> for Id<Multiplicative>

impl<E> Scaling<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<E> Similarity<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<E> AffineTransformation<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<E> Transformation<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<O> PartialOrd<Id<O>> for Id<O> where
    O: Operator, 

impl<O> AbstractGroup<O> for Id<O> where
    O: Operator, 

impl<O> AbstractLoop<O> for Id<O> where
    O: Operator, 

impl<O> PartialEq<Id<O>> for Id<O> where
    O: Operator, 

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Add<Id<Multiplicative>> for Id<Multiplicative>

impl<O> Debug for Id<O> where
    O: Operator + Debug

Formats the value using the given formatter.

impl AddAssign<Id<Multiplicative>> for Id<Multiplicative>

impl<O, T> SubsetOf<T> for Id<O> where
    O: Operator,
    T: Identity<O> + PartialEq<T>, 

impl<O> Inverse<O> for Id<O> where
    O: Operator, 

impl<O> JoinSemilattice for Id<O> where
    O: Operator, 

impl One for Id<Multiplicative>

impl<O> Eq for Id<O> where
    O: Operator, 

impl<O> AbstractMagma<O> for Id<O> where
    O: Operator, 

impl Zero for Id<Multiplicative>

impl<O> Identity<O> for Id<O> where
    O: Operator, 

impl MulAssign<Id<Multiplicative>> for Id<Multiplicative>

impl<E> Isometry<E> for Id<Multiplicative> where
    E: EuclideanSpace, 

impl<O> AbstractGroupAbelian<O> for Id<O> where
    O: Operator, 

impl Mul<Id<Multiplicative>> for Id<Multiplicative>

impl<O> AbstractMonoid<O> for Id<O> where
    O: Operator, 

impl<O> AbstractSemigroup<O> for Id<O> where
    O: Operator, 

impl<O> Display for Id<O> where
    O: Operator, 

Formats the value using the given formatter. Read more

impl<E> ProjectiveTransformation<E> for Id<Multiplicative> where
    E: EuclideanSpace,