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