pub struct PatternMatcher<Kind, Item> { /* private fields */ }Implementations§
Source§impl<Index> PatternMatcher<LocationPatternKind, Index>
impl<Index> PatternMatcher<LocationPatternKind, Index>
pub fn match<'set: 's, 's>( &'set self, s: &'s str, ) -> Option<(&'set Index, &'set LocationPattern, &'s str)>
Trait Implementations§
Source§impl<Kind, Item> Default for PatternMatcher<Kind, Item>
impl<Kind, Item> Default for PatternMatcher<Kind, Item>
Source§impl<Kind, Item> FromIterator<(Pattern<Kind>, Item)> for PatternMatcher<Kind, Item>
impl<Kind, Item> FromIterator<(Pattern<Kind>, Item)> for PatternMatcher<Kind, Item>
Auto Trait Implementations§
impl<Kind, Item> Freeze for PatternMatcher<Kind, Item>
impl<Kind, Item> RefUnwindSafe for PatternMatcher<Kind, Item>where
Item: RefUnwindSafe,
Kind: RefUnwindSafe,
impl<Kind, Item> Send for PatternMatcher<Kind, Item>
impl<Kind, Item> Sync for PatternMatcher<Kind, Item>
impl<Kind, Item> Unpin for PatternMatcher<Kind, Item>
impl<Kind, Item> UnsafeUnpin for PatternMatcher<Kind, Item>
impl<Kind, Item> UnwindSafe for PatternMatcher<Kind, Item>where
Item: RefUnwindSafe,
Kind: RefUnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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