pub enum AngleUnit {
Radian,
Degree,
ArcMinute,
ArcSecond,
MilliArcSecond,
Revolution,
MilliRadian,
Grad,
HourAngle,
}Expand description
Display and conversion units for Angle.
Variants§
Radian
Radians (rad) – the canonical storage unit.
Degree
Degrees (deg).
ArcMinute
Arc-minutes (arcmin), 1/60 of a degree.
ArcSecond
Arc-seconds (arcsec), 1/3600 of a degree.
MilliArcSecond
Milli-arc-seconds (mas), 1/1000 of an arc-second.
Revolution
Full revolutions (rev), equal to 2pi radians.
MilliRadian
Milliradians (mrad), 1/1000 of a radian.
Grad
Gradians (grad), 1/400 of a full turn.
HourAngle
Hour angles, 1/24 of a full turn (used in astronomy).
Trait Implementations§
impl Copy for AngleUnit
impl Eq for AngleUnit
impl StructuralPartialEq for AngleUnit
Auto Trait Implementations§
impl Freeze for AngleUnit
impl RefUnwindSafe for AngleUnit
impl Send for AngleUnit
impl Sync for AngleUnit
impl Unpin for AngleUnit
impl UnsafeUnpin for AngleUnit
impl UnwindSafe for AngleUnit
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