pub trait WithDirectives<'arena> {
// Required method
fn directives(&self) -> &Directives<'arena>;
}Expand description
Trait implemented by all ast nodes that can have directives attached.
Required Methods§
fn directives(&self) -> &Directives<'arena>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".