Variants§
Regex(String)
A regex to filter metavar based on its textual content.
Pattern(String)
A pattern to filter matched metavar based on its AST tree shape.
Kind(String)
A kind_id to filter matched metavar based on its ts-node kind
Trait Implementations§
source§impl Clone for SerializableMetaVarMatcher
impl Clone for SerializableMetaVarMatcher
source§fn clone(&self) -> SerializableMetaVarMatcher
fn clone(&self) -> SerializableMetaVarMatcher
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for SerializableMetaVarMatcher
impl<'de> Deserialize<'de> for SerializableMetaVarMatcher
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