Enum syntree::Kind [−][src]
#[non_exhaustive]
pub enum Kind {
Node,
Token(Span),
}Expand description
The kind of a node in the Tree.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Node
A node.
Token(Span)
Tuple Fields
0: SpanThe token and a corresponding span.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more
