pub struct ExprMatcher<'a> { /* private fields */ }Expand description
An expression matcher that can be used to match keys from a given expression. You create a new ExprMatcher by calling expr_matcher with the input expression or using ExprMatcher::new directly.
You can then re-use the matcher to match multiple keys against the same expression. re-using the expression “parsed” state.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ExprMatcher<'a>
impl<'a> RefUnwindSafe for ExprMatcher<'a>
impl<'a> !Send for ExprMatcher<'a>
impl<'a> !Sync for ExprMatcher<'a>
impl<'a> Unpin for ExprMatcher<'a>
impl<'a> UnwindSafe for ExprMatcher<'a>
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