Struct xvc_walker::Pattern
source · pub struct Pattern<T>where
T: PartialEq + Hash,{ /* private fields */ }Expand description
Pattern is generic and could be an instance of String, Glob, Regex or any other object.
The type is evolved by compiling.
A pattern can start its life as Pattern<String> and can be compiled into Pattern<Glob> or
Pattern<Regex>.
Implementations§
Trait Implementations§
source§impl<T> PartialEq<Pattern<T>> for Pattern<T>where
T: PartialEq + Hash + PartialEq,
impl<T> PartialEq<Pattern<T>> for Pattern<T>where T: PartialEq + Hash + PartialEq,
impl<T> Eq for Pattern<T>where T: PartialEq + Hash + Eq,
impl<T> StructuralEq for Pattern<T>where T: PartialEq + Hash,
impl<T> StructuralPartialEq for Pattern<T>where T: PartialEq + Hash,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Pattern<T>where T: RefUnwindSafe,
impl<T> Send for Pattern<T>where T: Send,
impl<T> Sync for Pattern<T>where T: Sync,
impl<T> Unpin for Pattern<T>where T: Unpin,
impl<T> UnwindSafe for Pattern<T>where T: UnwindSafe,
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