pub enum NumberKind {
Integer,
NegativeInteger,
Float,
SpecialFloat,
}Expand description
The kind of number parsed.
Variants§
Integer
A positive integer.
NegativeInteger
A negative integer.
Float
A floating-point number.
SpecialFloat
Special float values: inf, -inf, NaN.
Trait Implementations§
Source§impl Clone for NumberKind
impl Clone for NumberKind
Source§fn clone(&self) -> NumberKind
fn clone(&self) -> NumberKind
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 NumberKind
impl Debug for NumberKind
Source§impl PartialEq for NumberKind
impl PartialEq for NumberKind
impl Eq for NumberKind
impl StructuralPartialEq for NumberKind
Auto Trait Implementations§
impl Freeze for NumberKind
impl RefUnwindSafe for NumberKind
impl Send for NumberKind
impl Sync for NumberKind
impl Unpin for NumberKind
impl UnwindSafe for NumberKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.