Struct exmex::NumberMatcher
source · pub struct NumberMatcher;
Expand description
Default factory to match numeric literals.
Trait Implementations§
source§impl Clone for NumberMatcher
impl Clone for NumberMatcher
source§fn clone(&self) -> NumberMatcher
fn clone(&self) -> NumberMatcher
Returns a copy 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 NumberMatcher
impl Debug for NumberMatcher
source§impl MatchLiteral for NumberMatcher
impl MatchLiteral for NumberMatcher
source§impl Ord for NumberMatcher
impl Ord for NumberMatcher
source§fn cmp(&self, other: &NumberMatcher) -> Ordering
fn cmp(&self, other: &NumberMatcher) -> 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 NumberMatcher
impl PartialEq for NumberMatcher
source§fn eq(&self, other: &NumberMatcher) -> bool
fn eq(&self, other: &NumberMatcher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NumberMatcher
impl PartialOrd for NumberMatcher
source§fn partial_cmp(&self, other: &NumberMatcher) -> Option<Ordering>
fn partial_cmp(&self, other: &NumberMatcher) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NumberMatcher
impl StructuralEq for NumberMatcher
impl StructuralPartialEq for NumberMatcher
Auto Trait Implementations§
impl RefUnwindSafe for NumberMatcher
impl Send for NumberMatcher
impl Sync for NumberMatcher
impl Unpin for NumberMatcher
impl UnwindSafe for NumberMatcher
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