pub trait CanMirror: GeometricPrimitive + Sized {
type Point: IsPoint;
type Normal: IsUnitVector;
// Required method
fn mirror<P>(&mut self, mirror_plane: &P)
where P: IsPlane<Point = Self::Point, Normal = Self::Normal>;
}Expand description
Mirrors a primitive across a compatible plane.
Required Associated Types§
Sourcetype Normal: IsUnitVector
type Normal: IsUnitVector
Unit normal type used by the mirror plane.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".