logo
pub trait AffineSpace: Add<Self::Translation, Output = Self> + Adjunct<Item = <Self::Translation as VectorSpace>::Scalar> + Copy + Fold + PartialEq + Sub<Output = Self::Translation> + ZipMap<<Self::Translation as VectorSpace>::Scalar, Output = Self> {
    type Translation: VectorSpace;

    fn translate(self, translation: Self::Translation) -> Self { ... }
    fn difference(self, other: Self) -> Self::Translation { ... }
}

Required Associated Types

Provided Methods

Implementations on Foreign Types

Implementors