Trait palette::angle::AngleEq

source ·
pub trait AngleEq: HasBoolMask {
    // Required method
    fn angle_eq(&self, other: &Self) -> Self::Mask;
}
Expand description

Angular equality, where 0 degrees and 360 degrees are equal.

Required Methods§

source

fn angle_eq(&self, other: &Self) -> Self::Mask

Check if self and other represent the same angle on a circle.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AngleEq for f32

source§

fn angle_eq(&self, other: &Self) -> bool

source§

impl AngleEq for f64

source§

fn angle_eq(&self, other: &Self) -> bool

source§

impl AngleEq for u8

source§

fn angle_eq(&self, other: &Self) -> bool

Implementors§