palette::angle

Trait FullRotation

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl FullRotation for f32

Source§

impl FullRotation for f64

Implementors§