Trait palette::angle::SignedAngle
source · pub trait SignedAngle {
// Required method
fn normalize_signed_angle(self) -> Self;
}
Expand description
Angle types that can represent the full circle using positive and negative values.
Required Methods§
sourcefn normalize_signed_angle(self) -> Self
fn normalize_signed_angle(self) -> Self
Normalize self
to a range corresponding to -180 to 180 degrees.
Object Safety§
This trait is not object safe.