Trait cosmic::cosmic_theme::palette::angle::UnsignedAngle
source · pub trait UnsignedAngle {
// Required method
fn normalize_unsigned_angle(self) -> Self;
}
Expand description
Angle types that can represent the full circle as positive values.
Required Methods§
sourcefn normalize_unsigned_angle(self) -> Self
fn normalize_unsigned_angle(self) -> Self
Normalize self
to a range corresponding to 0 to 360 degrees.
Object Safety§
This trait is not object safe.