hir::ttType Alias TokenTree
pub type TokenTree = TokenTree<SpanData<SyntaxContextId>>;
enum TokenTree {
Leaf(Leaf<SpanData<SyntaxContextId>>),
Subtree(Subtree<SpanData<SyntaxContextId>>),
}
Implementations
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.