Enum nextest_filtering::NameMatcher
source · [−]Expand description
Matcher for name
Used both for package name and test name
Variants
Equal(String)
Exact value
Contains(String)
Simple contains test
Regex(Regex)
Test against a regex
Trait Implementations
sourceimpl Clone for NameMatcher
impl Clone for NameMatcher
sourcefn clone(&self) -> NameMatcher
fn clone(&self) -> NameMatcher
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NameMatcher
impl Debug for NameMatcher
sourceimpl PartialEq<NameMatcher> for NameMatcher
impl PartialEq<NameMatcher> for NameMatcher
impl Eq for NameMatcher
Auto Trait Implementations
impl RefUnwindSafe for NameMatcher
impl Send for NameMatcher
impl Sync for NameMatcher
impl Unpin for NameMatcher
impl UnwindSafe for NameMatcher
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.