Struct ast_grep_core::meta_var::MetaVarMatchers
source · [−]pub struct MetaVarMatchers<L: Language>(_);Implementations
sourceimpl<L: Language> MetaVarMatchers<L>
impl<L: Language> MetaVarMatchers<L>
pub fn new() -> Self
pub fn insert(&mut self, var_id: MetaVariableID, matcher: MetaVarMatcher<L>)
Trait Implementations
sourceimpl<L: Clone + Language> Clone for MetaVarMatchers<L>
impl<L: Clone + Language> Clone for MetaVarMatchers<L>
sourcefn clone(&self) -> MetaVarMatchers<L>
fn clone(&self) -> MetaVarMatchers<L>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl<L> RefUnwindSafe for MetaVarMatchers<L>where
L: RefUnwindSafe,
impl<L> Send for MetaVarMatchers<L>where
L: Send,
impl<L> Sync for MetaVarMatchers<L>where
L: Sync,
impl<L> Unpin for MetaVarMatchers<L>where
L: Unpin,
impl<L> UnwindSafe for MetaVarMatchers<L>where
L: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more