pub trait SyntaxNodeExtTrait {
// Required methods
fn token_text(&self) -> String;
fn deep_eq(&self, other: &Self) -> bool;
}
Required Methods§
Sourcefn token_text(&self) -> String
fn token_text(&self) -> String
walks tokens collecting each tokens text into a final String.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.