pub trait Node: Clone + Debug {
// Required method
fn range(&self) -> &TextRange;
// Provided methods
fn start(&self) -> &TextPos { ... }
fn end(&self) -> &TextPos { ... }
}
Expand description
Defines a general AST node.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.