hir::tt

Type Alias TtElement

pub type TtElement<'a> = TtElement<'a, SpanData<SyntaxContextId>>;

Aliased Type§

enum TtElement<'a> {
    Leaf(&'a Leaf<SpanData<SyntaxContextId>>),
    Subtree(&'a Subtree<SpanData<SyntaxContextId>>, TtIter<'a, SpanData<SyntaxContextId>>),
}

Variants§

§

Leaf(&'a Leaf<SpanData<SyntaxContextId>>)

§

Subtree(&'a Subtree<SpanData<SyntaxContextId>>, TtIter<'a, SpanData<SyntaxContextId>>)