pub enum AngleOrNumber {
Angle(Angle),
Number(Number),
}Variants§
Trait Implementations§
Source§impl Clone for AngleOrNumber
impl Clone for AngleOrNumber
Source§fn clone(&self) -> AngleOrNumber
fn clone(&self) -> AngleOrNumber
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 AngleOrNumber
impl Debug for AngleOrNumber
Source§impl From<AngleOrNumber> for Cursor
impl From<AngleOrNumber> for Cursor
Source§fn from(value: AngleOrNumber) -> Cursor
fn from(value: AngleOrNumber) -> Cursor
Converts to this type from the input type.
Source§impl From<AngleOrNumber> for Token
impl From<AngleOrNumber> for Token
Source§fn from(value: AngleOrNumber) -> Token
fn from(value: AngleOrNumber) -> Token
Converts to this type from the input type.
Source§impl Hash for AngleOrNumber
impl Hash for AngleOrNumber
Source§impl Ord for AngleOrNumber
impl Ord for AngleOrNumber
Source§fn cmp(&self, other: &AngleOrNumber) -> Ordering
fn cmp(&self, other: &AngleOrNumber) -> 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<'a> Parse<'a> for AngleOrNumber
impl<'a> Parse<'a> for AngleOrNumber
Source§impl PartialEq for AngleOrNumber
impl PartialEq for AngleOrNumber
Source§impl PartialOrd for AngleOrNumber
impl PartialOrd for AngleOrNumber
Source§impl<'a> Peek<'a> for AngleOrNumber
impl<'a> Peek<'a> for AngleOrNumber
Source§impl ToCursors for AngleOrNumber
impl ToCursors for AngleOrNumber
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for AngleOrNumber
impl Eq for AngleOrNumber
impl StructuralPartialEq for AngleOrNumber
Auto Trait Implementations§
impl Freeze for AngleOrNumber
impl RefUnwindSafe for AngleOrNumber
impl Send for AngleOrNumber
impl Sync for AngleOrNumber
impl Unpin for AngleOrNumber
impl UnwindSafe for AngleOrNumber
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