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).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FullRotation for f32

source§

impl FullRotation for f64

Implementors§