Enum polyvalue::operations::MatchingOperation
source · pub enum MatchingOperation {
Contains,
Matches,
Is,
StartsWith,
EndsWith,
}Expand description
Matching operations These operations are used to compare two values and return a boolean result
Variants§
Contains
Matches array or string contents
Matches
Matches a string, array or regular expression
Is
Type-specific matching operations
StartsWith
This is a special case of Matches that matches the start of the target
EndsWith
This is a special case of Matches that matches the end of the target
Trait Implementations§
source§impl Clone for MatchingOperation
impl Clone for MatchingOperation
source§fn clone(&self) -> MatchingOperation
fn clone(&self) -> MatchingOperation
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 MatchingOperation
impl Debug for MatchingOperation
source§impl Display for MatchingOperation
impl Display for MatchingOperation
source§impl PartialEq for MatchingOperation
impl PartialEq for MatchingOperation
source§fn eq(&self, other: &MatchingOperation) -> bool
fn eq(&self, other: &MatchingOperation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MatchingOperation
impl StructuralPartialEq for MatchingOperation
Auto Trait Implementations§
impl RefUnwindSafe for MatchingOperation
impl Send for MatchingOperation
impl Sync for MatchingOperation
impl Unpin for MatchingOperation
impl UnwindSafe for MatchingOperation
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