Struct syn::TypeGenerics [−][src]
pub struct TypeGenerics<'a>(_);
This is supported on (crate features
full
or derive
) and crate feature printing
only.Expand description
Returned by Generics::split_for_impl
.
This type is available only if Syn is built with the "derive"
or "full"
feature and the "printing"
feature.
Implementations
Turn a type’s generics like <X, Y>
into a turbofish like ::<X, Y>
.
This method is available only if Syn is built with the "derive"
or
"full"
feature and the "printing"
feature.
Trait Implementations
impl<'a> PartialEq<TypeGenerics<'a>> for TypeGenerics<'a>
This is supported on crate feature extra-traits
only.
impl<'a> PartialEq<TypeGenerics<'a>> for TypeGenerics<'a>
This is supported on crate feature
extra-traits
only.Auto Trait Implementations
impl<'a> RefUnwindSafe for TypeGenerics<'a>
impl<'a> !Send for TypeGenerics<'a>
impl<'a> !Sync for TypeGenerics<'a>
impl<'a> Unpin for TypeGenerics<'a>
impl<'a> UnwindSafe for TypeGenerics<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more