Struct syn::TyGenerics [−][src]
pub struct TyGenerics<'a>(_);
Returned by Generics::split_for_impl
.
Methods
impl<'a> TyGenerics<'a>
[src]
impl<'a> TyGenerics<'a>
pub fn as_turbofish(&self) -> Turbofish
[src]
pub fn as_turbofish(&self) -> Turbofish
Turn a type's generics like <X, Y>
into a turbofish like ::<X, Y>
.
Trait Implementations
impl<'a> ToTokens for TyGenerics<'a>
[src]
impl<'a> ToTokens for TyGenerics<'a>
impl<'a> Debug for TyGenerics<'a>
[src]
impl<'a> Debug for TyGenerics<'a>
Auto Trait Implementations
impl<'a> Send for TyGenerics<'a>
impl<'a> Send for TyGenerics<'a>
impl<'a> Sync for TyGenerics<'a>
impl<'a> Sync for TyGenerics<'a>