Trait proc_macro::bridge::Unmark

source ·
trait Unmark {
    type Unmarked;

    // Required method
    fn unmark(self) -> Self::Unmarked;
}
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
Expand description

Unwrap types wrapped by Mark::mark (see Mark for details).

Required Associated Types§

source

type Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Required Methods§

source

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Implementations on Foreign Types§

source§

impl Unmark for ()

§

type Unmarked = ()

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl<T: Unmark> Unmark for Option<T>

§

type Unmarked = Option<<T as Unmark>::Unmarked>

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl<T: Unmark> Unmark for Bound<T>

§

type Unmarked = Bound<<T as Unmark>::Unmarked>

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl<T: Unmark, E: Unmark> Unmark for Result<T, E>

§

type Unmarked = Result<<T as Unmark>::Unmarked, <E as Unmark>::Unmarked>

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl<T: Unmark> Unmark for Vec<T>

§

type Unmarked = Vec<<T as Unmark>::Unmarked, Global>

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for usize

§

type Unmarked = usize

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for u8

§

type Unmarked = u8

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for String

§

type Unmarked = String

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for bool

§

type Unmarked = bool

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for &[u8]

§

type Unmarked = &[u8]

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for char

§

type Unmarked = char

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl Unmark for &str

§

type Unmarked = &str

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

impl<T: Unmark> Unmark for Range<T>

§

type Unmarked = Range<<T as Unmark>::Unmarked>

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)
source§

fn unmark(self) -> Self::Unmarked

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Implementors§

source§

impl Unmark for Level

source§

impl Unmark for Delimiter

source§

impl Unmark for Spacing

source§

impl Unmark for LitKind

source§

impl<'a, T, M> Unmark for &'a Marked<T, M>

source§

impl<'a, T, M> Unmark for &'a mut Marked<T, M>

source§

impl<Sp: Unmark, Sy: Unmark> Unmark for Literal<Sp, Sy>

§

type Unmarked = Literal<<Sp as Unmark>::Unmarked, <Sy as Unmark>::Unmarked>

source§

impl<Span: Unmark> Unmark for DelimSpan<Span>

§

type Unmarked = DelimSpan<<Span as Unmark>::Unmarked>

source§

impl<Span: Unmark> Unmark for Diagnostic<Span>

source§

impl<Span: Unmark> Unmark for ExpnGlobals<Span>

source§

impl<Span: Unmark> Unmark for Punct<Span>

§

type Unmarked = Punct<<Span as Unmark>::Unmarked>

source§

impl<Span: Unmark, Symbol: Unmark> Unmark for Ident<Span, Symbol>

§

type Unmarked = Ident<<Span as Unmark>::Unmarked, <Symbol as Unmark>::Unmarked>

source§

impl<T, M> Unmark for Marked<T, M>

§

type Unmarked = T

source§

impl<TokenStream: Unmark, Span: Unmark> Unmark for Group<TokenStream, Span>

§

type Unmarked = Group<<TokenStream as Unmark>::Unmarked, <Span as Unmark>::Unmarked>

source§

impl<TokenStream: Unmark, Span: Unmark, Symbol: Unmark> Unmark for TokenTree<TokenStream, Span, Symbol>

§

type Unmarked = TokenTree<<TokenStream as Unmark>::Unmarked, <Span as Unmark>::Unmarked, <Symbol as Unmark>::Unmarked>