pub trait SpanExt: Copy {
fn into_pm2_span(self) -> Span;
fn new_ident<S>(self, s: S) -> Ident
where
S: AsRef<str>,
{ ... }
fn as_token<Token>(self) -> Token
where
Token: FromSpan,
{ ... }
}
Required Methods
source