pub trait Matchable {
// Required methods
fn tag(&self) -> &TagName;
fn attrs(&self) -> &HashMap<AttrName, Value, FxBuildHasher>;
fn parent(&self) -> Option<&dyn Matchable>;
}Expand description
A matchable node — works for both annotations and code elements.