pub trait Element {
// Required method
fn syntax_element(self) -> SyntaxElement;
}Expand description
Utility trait to allow calling syntax editor functions with references or owned nodes. Do not use outside of this module.
Required Methods§
fn syntax_element(self) -> SyntaxElement
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".