pub trait Space2d: Sized {
type Scalar: FixedSqrt;
type Point: Point2d<Self::Scalar, Self> = Point2D<Self::Scalar, Self>;
type Vector: Vector2d<Self::Scalar, Self> = Vector2D<Self::Scalar, Self>;
}Required Associated Types§
Provided Associated Types§
type Point: Point2d<Self::Scalar, Self> = Point2D<Self::Scalar, Self>
type Vector: Vector2d<Self::Scalar, Self> = Vector2D<Self::Scalar, Self>
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.