pub trait TreeDisplay {
// Required method
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result;
}Required Methods§
Sourcefn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
fn tree_display(&self, f: &mut TreeFormatter, source: &str) -> Result
Display this node in tree format.
§Arguments
f- The formatter to write tosource- The original source code string for extracting raw text from spans
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".