pub trait GetSpan { // Required method fn span(&self) -> &Span; }
Trait for getting the span of a node. For enums, this is useful for getting the span of the current variant, without having to match on each variant.