pub struct Matcher(/* private fields */);Expand description
Filter for file paths that uses zero or more glob patterns to perform matching.
Implementations§
Source§impl Matcher
impl Matcher
Sourcepub fn build<'a, I, S>(pattern_strs: I) -> Result<Self, Error>
pub fn build<'a, I, S>(pattern_strs: I) -> Result<Self, Error>
Attempts to build a matcher out of an iterable of string-likes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Matcher
impl<'de> Deserialize<'de> for Matcher
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Matcher
impl RefUnwindSafe for Matcher
impl Send for Matcher
impl Sync for Matcher
impl Unpin for Matcher
impl UnsafeUnpin for Matcher
impl UnwindSafe for Matcher
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