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§