pub enum NumberState {
Integer,
Decimal,
Exponent,
}Variants§
Implementations§
Source§impl NumberState
impl NumberState
pub fn is_integer(&self) -> bool
pub fn is_decimal(&self) -> bool
pub fn is_exponent(&self) -> bool
Trait Implementations§
Source§impl Clone for NumberState
impl Clone for NumberState
Source§fn clone(&self) -> NumberState
fn clone(&self) -> NumberState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for NumberState
impl PartialEq for NumberState
Source§fn eq(&self, other: &NumberState) -> bool
fn eq(&self, other: &NumberState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NumberState
impl StructuralPartialEq for NumberState
Auto Trait Implementations§
impl Freeze for NumberState
impl RefUnwindSafe for NumberState
impl Send for NumberState
impl Sync for NumberState
impl Unpin for NumberState
impl UnsafeUnpin for NumberState
impl UnwindSafe for NumberState
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