syntax::ast

Trait HasName

Source
pub trait HasName: AstNode {
    // Provided method
    fn name(&self) -> Option<Name> { ... }
}

Provided Methods§

Source

fn name(&self) -> Option<Name>

Implementations on Foreign Types§

Source§

impl<A: HasName, B: HasName> HasName for Either<A, B>

Implementors§