pub trait AffineSpace: Sub<Output = Self::Diff> + Sized {
type Diff: VectorSpace;
}Expand description
Marker trait for affine spaces, types whose differences are vectors.
Required Associated Types§
Sourcetype Diff: VectorSpace
type Diff: VectorSpace
The difference type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.