syntax::ted

Trait Element

source
pub trait Element {
    // Required method
    fn syntax_element(self) -> SyntaxElement;
}
Expand description

Utility trait to allow calling ted functions with references or owned nodes. Do not use outside of this module.

Required Methods§

Implementations on Foreign Types§

source§

impl<E: Element + Clone> Element for &E

Implementors§