#[repr(i8)]pub enum Unit {
Degree = 0,
Minute = 1,
Second = 2,
}Expand description
Unit of angle measurement.
Variants§
Degree = 0
Degree, the default unit.
Minute = 1
Minute, 1/60 of degree.
Second = 2
Second, 1/60 of minute.
Implementations§
Trait Implementations§
Source§impl TryFromPrimitive for Unit
impl TryFromPrimitive for Unit
impl Copy for Unit
impl StructuralPartialEq for Unit
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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