pub trait AstNodeRef {
// Required method
fn class_index(self) -> Option<i32>;
}Expand description
node->is<T>() — does this node have T’s dynamic type?
Required Methods§
fn class_index(self) -> Option<i32>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".