pub trait CanRotate: GeometricPrimitive + Sized {
type Point: IsPoint;
// Required method
fn rotate<'a, L>(&mut self, axis: &L, angle_radians: GeometryMeasure)
where L: IsLine<'a, Self::Point>;
}Expand description
Rotates a primitive around a line by an angle in radians.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".