pub enum AngleType {
Zero,
Right90,
Straight180,
Right270,
Arbitrary(f32),
}Expand description
Classifies a rotation angle into common fast-path categories.
Variants§
Zero
0° (or 360°) — no rotation needed.
Right90
90° clockwise.
Straight180
180°.
Right270
270° clockwise (= 90° counter-clockwise).
Arbitrary(f32)
An angle that doesn’t match any fast-path.
Trait Implementations§
impl Copy for AngleType
impl StructuralPartialEq for AngleType
Auto Trait Implementations§
impl Freeze for AngleType
impl RefUnwindSafe for AngleType
impl Send for AngleType
impl Sync for AngleType
impl Unpin for AngleType
impl UnsafeUnpin for AngleType
impl UnwindSafe for AngleType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more