pub trait HasModifiers: AstNode {
// Provided methods
fn is_internal(&self) -> bool { ... }
fn is_error(&self) -> bool { ... }
}Expand description
A node that accepts the internal / error prefix modifiers
(general form §2; typl reference §3.3, §10.1).
Provided Methods§
Sourcefn is_internal(&self) -> bool
fn is_internal(&self) -> bool
true when the definition carries the internal modifier.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".