hir_expand::tt

Type Alias Leaf

source
pub type Leaf = Leaf<Span>;

Aliased Type§

enum Leaf {
    Literal(Literal<SpanData<SyntaxContextId>>),
    Punct(Punct<SpanData<SyntaxContextId>>),
    Ident(Ident<SpanData<SyntaxContextId>>),
}

Variants§

§

Literal(Literal<SpanData<SyntaxContextId>>)

§

Punct(Punct<SpanData<SyntaxContextId>>)

§

Ident(Ident<SpanData<SyntaxContextId>>)

Trait Implementations§