Struct exmex::ValMatcher
source · pub struct ValMatcher;
Expand description
Literal matcher type that was created with the macro
literal_matcher_from_pattern
.
Trait Implementations§
source§impl Clone for ValMatcher
impl Clone for ValMatcher
source§fn clone(&self) -> ValMatcher
fn clone(&self) -> ValMatcher
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 ValMatcher
impl Debug for ValMatcher
source§impl Default for ValMatcher
impl Default for ValMatcher
source§fn default() -> ValMatcher
fn default() -> ValMatcher
Returns the “default value” for a type. Read more
source§impl MatchLiteral for ValMatcher
impl MatchLiteral for ValMatcher
source§impl Ord for ValMatcher
impl Ord for ValMatcher
source§fn cmp(&self, other: &ValMatcher) -> Ordering
fn cmp(&self, other: &ValMatcher) -> 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 ValMatcher
impl PartialEq for ValMatcher
source§fn eq(&self, other: &ValMatcher) -> bool
fn eq(&self, other: &ValMatcher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ValMatcher
impl PartialOrd for ValMatcher
source§fn partial_cmp(&self, other: &ValMatcher) -> Option<Ordering>
fn partial_cmp(&self, other: &ValMatcher) -> 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 ValMatcher
impl StructuralPartialEq for ValMatcher
Auto Trait Implementations§
impl Freeze for ValMatcher
impl RefUnwindSafe for ValMatcher
impl Send for ValMatcher
impl Sync for ValMatcher
impl Unpin for ValMatcher
impl UnwindSafe for ValMatcher
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