Struct syn::TyGenerics [] [src]

pub struct TyGenerics<'a>(_);

Returned by Generics::split_for_impl.

Methods

impl<'a> TyGenerics<'a>
[src]

Turn a type's generics like <X, Y> into a turbofish like ::<X, Y>.

Trait Implementations

impl<'a> ToTokens for TyGenerics<'a>
[src]

Write self to the given Tokens. Read more

impl<'a> Debug for TyGenerics<'a>
[src]

Formats the value using the given formatter.