pub struct Number<'ast> {
pub digits: &'ast str,
pub exp: i64,
}Fields§
§digits: &'ast str§exp: i64Trait Implementations§
Source§impl<'ast> Ord for Number<'ast>
impl<'ast> Ord for Number<'ast>
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<'ast> PartialOrd for Number<'ast>
impl<'ast> PartialOrd for Number<'ast>
impl<'ast> Copy for Number<'ast>
impl<'ast> Eq for Number<'ast>
impl<'ast> StructuralPartialEq for Number<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for Number<'ast>
impl<'ast> RefUnwindSafe for Number<'ast>
impl<'ast> Send for Number<'ast>
impl<'ast> Sync for Number<'ast>
impl<'ast> Unpin for Number<'ast>
impl<'ast> UnwindSafe for Number<'ast>
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> Comparable<K> for Q
impl<Q, K> Comparable<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.