pub trait HalfRotation {
// Required method
fn half_rotation() -> Self;
}
Expand description
Represents types that can express half of a rotation (i.e. 180 degrees).
Required Methods§
Sourcefn half_rotation() -> Self
fn half_rotation() -> Self
Return a value that represents half of a rotation (i.e. 180 degrees).
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.