pub struct RegexPattern(/* private fields */);Expand description
The validated body of a regular-expression matcher, without / delimiters.
Construction is restricted to the schema loader so callers cannot create a semantic schema containing an invalid regular expression.
Implementations§
Trait Implementations§
Source§impl Clone for RegexPattern
impl Clone for RegexPattern
Source§fn clone(&self) -> RegexPattern
fn clone(&self) -> RegexPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegexPattern
impl Debug for RegexPattern
impl Eq for RegexPattern
Source§impl Hash for RegexPattern
impl Hash for RegexPattern
Source§impl PartialEq for RegexPattern
impl PartialEq for RegexPattern
impl StructuralPartialEq for RegexPattern
Auto Trait Implementations§
impl Freeze for RegexPattern
impl RefUnwindSafe for RegexPattern
impl Send for RegexPattern
impl Sync for RegexPattern
impl Unpin for RegexPattern
impl UnsafeUnpin for RegexPattern
impl UnwindSafe for RegexPattern
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.