Struct ast_grep_core::meta_var::MetaVarMatchers
source · pub struct MetaVarMatchers<D: Doc>(_);
Implementations§
source§impl<D: Doc> MetaVarMatchers<D>
impl<D: Doc> MetaVarMatchers<D>
pub fn new() -> Self
pub fn insert(&mut self, var_id: MetaVariableID, matcher: MetaVarMatcher<D>)
Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for MetaVarMatchers<D>where <D as Doc>::Lang: RefUnwindSafe,
impl<D> Send for MetaVarMatchers<D>where <D as Doc>::Lang: Send,
impl<D> Sync for MetaVarMatchers<D>where <D as Doc>::Lang: Sync,
impl<D> Unpin for MetaVarMatchers<D>where <D as Doc>::Lang: Unpin,
impl<D> UnwindSafe for MetaVarMatchers<D>where <D as Doc>::Lang: 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