pub trait WithName {
    // Required method
    fn name(&self) -> &str;
}
Expand description

An AST node with a name (from the identifier).

Required Methods§

source

fn name(&self) -> &str

The name of the item.

Implementors§

source§

impl<T> WithName for Twhere T: WithIdentifier,

An AST node with a name.