pub trait AstLeafNodePattern<Q: QueryContext>:
Clone
+ Debug
+ Matcher<Q>
+ PatternName
+ Sized {
// Provided method
fn text(&self) -> Option<&str> { ... }
}
Expand description
Type of pattern that matches against an individual AST leaf node.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.