Type Alias Subtree
Source pub type Subtree = Subtree<Span>;
struct Subtree {
pub delimiter: Delimiter<SpanData<SyntaxContext>>,
pub len: u32,
}
Number of following token trees that belong to this subtree, excluding this subtree.
Implementations
Count the number of tokens recursively
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
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.