# Trait rustc_expand::proc_macro_server::FromInternal

source ·

    trait FromInternal<T> {
        // Required method
        fn from_internal(x: T) -> Self;
    }

## Required Methods§

source

#### fn from_internal(x: T) -> Self

## Object Safety§

This trait is not object safe.

## Implementations on Foreign Types§

source§

### impl FromInternal<(TokenStream, &mut Rustc<'_, '_>)> for Vec<TokenTree<TokenStream, Span, Symbol>>

source§

#### fn from_internal((stream, rustc): (TokenStream, &mut Rustc<'_, '_>)) -> Self

source§

### impl FromInternal<Delimiter> for Delimiter

source§

#### fn from_internal(delim: Delimiter) -> Delimiter

source§

### impl FromInternal<LitKind> for LitKind

source§

#### fn from_internal(kind: LitKind) -> Self

## Implementors§