pub struct ComparableRegex(pub Regex);
Tuple Fields§
§0: Regex
Trait Implementations§
source§impl Clone for ComparableRegex
impl Clone for ComparableRegex
source§fn clone(&self) -> ComparableRegex
fn clone(&self) -> ComparableRegex
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 Ord for ComparableRegex
impl Ord for ComparableRegex
source§impl PartialEq for ComparableRegex
impl PartialEq for ComparableRegex
source§impl PartialOrd for ComparableRegex
impl PartialOrd for ComparableRegex
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 ComparableRegex
Auto Trait Implementations§
impl RefUnwindSafe for ComparableRegex
impl Send for ComparableRegex
impl Sync for ComparableRegex
impl Unpin for ComparableRegex
impl UnwindSafe for ComparableRegex
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
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more