pub trait FromSpan {
    fn from_span(span: Span) -> Self;
}
Expand description

See SpanExt#as_token for usage. Create tokens from Span.

Required Methods

Implementations on Foreign Types

Implementors