pub enum Angle {
Degree(f64),
Radian(f64),
Hour(f64),
}
Expand description
Enum containing common angle variants
Variants§
Degree(f64)
Variant containing decimal degree
Radian(f64)
Variant containing decimal radian
Hour(f64)
Variant containing decimal hour
Implementations§
Trait Implementations§
Source§impl From<Angle> for HourMinSec
impl From<Angle> for HourMinSec
Source§impl From<HourMinSec> for Angle
impl From<HourMinSec> for Angle
Source§fn from(angle: HourMinSec) -> Angle
fn from(angle: HourMinSec) -> Angle
Converts to this type from the input type.
impl Copy for Angle
impl StructuralPartialEq for Angle
Auto Trait Implementations§
impl Freeze for Angle
impl RefUnwindSafe for Angle
impl Send for Angle
impl Sync for Angle
impl Unpin for Angle
impl UnwindSafe for Angle
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