Struct ggez::graphics::na::Translation [] [src]

#[repr(C)]
pub struct Translation<N, D> where
    D: DimName,
    N: Scalar,
    DefaultAllocator: Allocator<N, D, U1>, 
{ pub vector: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>, }

A translation.

Fields

The translation coordinates, i.e., how much is added to a point's coordinates when it is translated.

Methods

impl<N, D> Translation<N, D> where
    D: DimName,
    N: Scalar,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

Creates a new translation from the given vector.

[src]

Inverts self.

[src]

Converts this translation into its equivalent homogeneous transformation matrix.

[src]

Inverts self in-place.

impl<N, D> Translation<N, D> where
    D: DimName,
    N: Scalar + Zero,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

Creates a new square identity rotation of the given dimension.

impl<N> Translation<N, U1> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U1, U1>, 
[src]

[src]

Initializes this matrix from its components.

impl<N> Translation<N, U2> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U2, U1>, 
[src]

[src]

Initializes this matrix from its components.

impl<N> Translation<N, U3> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U3, U1>, 
[src]

[src]

Initializes this matrix from its components.

impl<N> Translation<N, U4> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U4, U1>, 
[src]

[src]

Initializes this matrix from its components.

impl<N> Translation<N, U5> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U5, U1>, 
[src]

[src]

Initializes this matrix from its components.

impl<N> Translation<N, U6> where
    N: Scalar,
    DefaultAllocator: Allocator<N, U6, U1>, 
[src]

[src]

Initializes this matrix from its components.

Trait Implementations

impl<N, D> Rand for Translation<N, D> where
    D: DimName,
    N: Scalar + Rand,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Copy for Translation<N, D> where
    D: DimName,
    N: Scalar,
    DefaultAllocator: Allocator<N, D, U1>,
    <DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy
[src]

impl<N, D> Clone for Translation<N, D> where
    D: DimName,
    N: Scalar,
    DefaultAllocator: Allocator<N, D, U1>,
    <DefaultAllocator as Allocator<N, D, U1>>::Buffer: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N, D> AbstractMonoid<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N1, N2, D, R> SubsetOf<Isometry<N2, D, R>> for Translation<N1, D> where
    D: DimName,
    N1: Real,
    N2: Real + SupersetOf<N1>,
    R: Rotation<Point<N2, D>>,
    DefaultAllocator: Allocator<N1, D, U1>,
    DefaultAllocator: Allocator<N2, D, U1>, 
[src]

[src]

[src]

[src]

impl<N1, N2, D, R> SubsetOf<Similarity<N2, D, R>> for Translation<N1, D> where
    D: DimName,
    N1: Real,
    N2: Real + SupersetOf<N1>,
    R: Rotation<Point<N2, D>>,
    DefaultAllocator: Allocator<N1, D, U1>,
    DefaultAllocator: Allocator<N2, D, U1>, 
[src]

[src]

[src]

[src]

impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Translation<N1, D> where
    D: DimNameAdd<U1>,
    N1: Real,
    N2: Real + SupersetOf<N1>,
    DefaultAllocator: Allocator<N1, D, U1>,
    DefaultAllocator: Allocator<N2, D, U1>,
    DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

[src]

[src]

impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Translation<N1, D> where
    C: SuperTCategoryOf<TAffine>,
    D: DimNameAdd<U1>,
    N1: Real,
    N2: Real + SupersetOf<N1>,
    DefaultAllocator: Allocator<N1, D, U1>,
    DefaultAllocator: Allocator<N2, D, U1>,
    DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

[src]

[src]

impl<N1, N2, D> SubsetOf<Translation<N2, D>> for Translation<N1, D> where
    D: DimName,
    N1: Scalar,
    N2: Scalar + SupersetOf<N1>,
    DefaultAllocator: Allocator<N1, D, U1>,
    DefaultAllocator: Allocator<N2, D, U1>, 
[src]

[src]

[src]

[src]

impl<N, D> Inverse<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

[src]

impl<N, D> ProjectiveTransformation<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

[src]

impl<N, D> Translation<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

Subgroups of the n-dimensional translation group T(n).

[src]

[src]

[src]

[src]

impl<N, D> Isometry<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> AffineTransformation<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<N, D> Transformation<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

[src]

impl<'a, 'b, N, D> Div<&'b Translation<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'a, N, D, C> Div<Transform<N, D, C>> for &'a Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, 'b, N, D, C> Div<&'b Transform<N, D, C>> for &'a Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, N, D> Div<Translation<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'b, N, D> Div<&'b Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<N, D, C> Div<Transform<N, D, C>> for Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<N, D> Div<Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'b, N, D, C> Div<&'b Transform<N, D, C>> for Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<N, D> AbstractSemigroup<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> AbstractLoop<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<'b, N, D> DivAssign<&'b Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>, 
[src]

[src]

impl<N, D> DivAssign<Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedSub<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>, 
[src]

[src]

impl<N, D> ApproxEq for Translation<N, D> where
    D: DimName,
    N: Scalar + ApproxEq,
    DefaultAllocator: Allocator<N, D, U1>,
    <N as ApproxEq>::Epsilon: Copy
[src]

[src]

[src]

[src]

[src]

[src]

impl<N, D> Hash for Translation<N, D> where
    D: DimName + Hash,
    N: Scalar + Hash,
    DefaultAllocator: Allocator<N, D, U1>,
    <DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<N, D> Similarity<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

[src]

[src]

impl<N, D> PartialEq<Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + PartialEq<N>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

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<N, D> Debug for Translation<N, D> where
    D: DimName + Debug,
    N: Scalar + Debug,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

Formats the value using the given formatter.

impl<N, D> DirectIsometry<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> AbstractQuasigroup<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> AbstractGroup<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> One for Translation<N, D> where
    D: DimName,
    N: Scalar + Zero + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Identity<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Eq for Translation<N, D> where
    D: DimName,
    N: Scalar + Eq,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

impl<N, D> MulAssign<Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>, 
[src]

[src]

impl<'b, N, D> MulAssign<&'b Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>, 
[src]

[src]

impl<N, D> AbstractMagma<Multiplicative> for Translation<N, D> where
    D: DimName,
    N: Real,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'a, N, D> Mul<Translation<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'a, N, D, R> Mul<Similarity<N, D, R>> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'a, N, D, R> Mul<Isometry<N, D, R>> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D, R> Mul<Isometry<N, D, R>> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'a, 'b, N, D, C> Mul<&'b Transform<N, D, C>> for &'a Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'a, N, D, R> Mul<R> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Mul<Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'a, N, D, C> Mul<Transform<N, D, C>> for &'a Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<N, D, R> Mul<R> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D, R> Mul<Similarity<N, D, R>> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D, C> Mul<Transform<N, D, C>> for Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, 'b, N, D> Mul<&'b Translation<N, D>> for &'a Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'b, N, D, R> Mul<&'b Isometry<N, D, R>> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'a, 'b, N, D, R> Mul<&'b Similarity<N, D, R>> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'b, N, D> Mul<&'b Translation<N, D>> for Translation<N, D> where
    D: DimName,
    N: Scalar + ClosedAdd<N>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
    ShapeConstraint: SameNumberOfRows<D, D>,
    ShapeConstraint: SameNumberOfColumns<U1, U1>,
    <ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D, 
[src]

[src]

impl<'b, N, D, R> Mul<&'b R> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'a, 'b, N, D, R> Mul<&'b Isometry<N, D, R>> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'b, N, D, R> Mul<&'b Similarity<N, D, R>> for Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<'b, N, D, C> Mul<&'b Transform<N, D, C>> for Translation<N, D> where
    C: TCategoryMul<TAffine>,
    D: DimNameAdd<U1>,
    N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
    DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>, 
[src]

[src]

impl<'a, 'b, N, D, R> Mul<&'b R> for &'a Translation<N, D> where
    D: DimName,
    N: Real,
    R: Rotation<Point<N, D>>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

impl<N, D> Display for Translation<N, D> where
    D: DimName,
    N: Display + Real,
    DefaultAllocator: Allocator<N, D, U1>,
    DefaultAllocator: Allocator<usize, D, U1>, 
[src]

[src]

Formats the value using the given formatter. Read more