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).
Object Safety§
This trait is not object safe.