pub trait Element {
// Required method
fn syntax_element(
self,
) -> NodeOrToken<SyntaxNode<RustLanguage>, SyntaxToken<RustLanguage>>;
}Expand description
Utility trait to allow calling ted functions with references or owned
nodes. Do not use outside of this module.