Struct futures_await_syn::TyGenerics
[−]
[src]
pub struct TyGenerics<'a>(_);
Returned by Generics::split_for_impl
.
Methods
impl<'a> TyGenerics<'a>
[src]
fn as_turbofish(&self) -> Turbofish
[src]
Turn a type's generics like <X, Y>
into a turbofish like ::<X, Y>
.
Trait Implementations
impl<'a> ToTokens for TyGenerics<'a>
[src]
fn to_tokens(&self, tokens: &mut Tokens)
[src]
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
[src]
Convert self
directly into a Tokens
object. Read more
impl<'a> Clone for TyGenerics<'a>
[src]
fn clone(&self) -> TyGenerics<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more