Trait cosmic::cosmic_theme::palette::angle::HalfRotation

source ·
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§

source

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.

Implementations on Foreign Types§

source§

impl HalfRotation for f32

source§

impl HalfRotation for f64

source§

impl HalfRotation for u8

Implementors§