rustc_expand::proc_macro_server

Trait ToInternal

Source
trait ToInternal<T> {
    // Required method
    fn to_internal(self) -> T;
}

Required Methods§

Source

fn to_internal(self) -> T

Implementations on Foreign Types§

Source§

impl ToInternal<Delimiter> for Delimiter

Source§

impl ToInternal<LitKind> for LitKind

Source§

impl ToInternal<Level> for Level

Source§

impl ToInternal<SmallVec<[TokenTree; 2]>> for (TokenTree<TokenStream, Span, Symbol>, &mut Rustc<'_, '_>)

Implementors§