typed-quote 0.1.1

A fully typed quote!() alternative for both proc-macro and proc-macro2
Documentation
1
2
3
4
5
6
7
8
use crate::{IntoTokens, WithSpan};

#[doc(hidden)]
pub trait ReplaceSpanOf<T: IntoTokens + WithSpan> {
    type ReplaceSpanOf: IntoTokens + WithSpan;

    fn replace_span_of(self, t: T) -> Self::ReplaceSpanOf;
}