#[repr(C)]pub enum AngleMetric {
Degree = 0,
Radians = 1,
Grad = 2,
Turn = 3,
Percent = 4,
}Variants§
Trait Implementations§
Source§impl Clone for AngleMetric
impl Clone for AngleMetric
Source§fn clone(&self) -> AngleMetric
fn clone(&self) -> AngleMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AngleMetric
impl Debug for AngleMetric
Source§impl Default for AngleMetric
impl Default for AngleMetric
Source§fn default() -> AngleMetric
fn default() -> AngleMetric
Returns the “default value” for a type. Read more
Source§impl Display for AngleMetric
impl Display for AngleMetric
Source§impl Hash for AngleMetric
impl Hash for AngleMetric
Source§impl Ord for AngleMetric
impl Ord for AngleMetric
Source§fn cmp(&self, other: &AngleMetric) -> Ordering
fn cmp(&self, other: &AngleMetric) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AngleMetric
impl PartialEq for AngleMetric
Source§impl PartialOrd for AngleMetric
impl PartialOrd for AngleMetric
impl Copy for AngleMetric
impl Eq for AngleMetric
impl StructuralPartialEq for AngleMetric
Auto Trait Implementations§
impl Freeze for AngleMetric
impl RefUnwindSafe for AngleMetric
impl Send for AngleMetric
impl Sync for AngleMetric
impl Unpin for AngleMetric
impl UnwindSafe for AngleMetric
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