Struct syn::PredicateType [−][src]
A type predicate in a where
clause: for<'c> Foo<'c>: Trait<'c>
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Fields
lifetimes: Option<BoundLifetimes>
Any lifetimes from a for
binding
bounded_ty: Type
The type being bounded
colon_token: Colon
bounds: Punctuated<TypeParamBound, Add>
Trait and lifetime bounds (Clone+Send+'static
)
Trait Implementations
impl ToTokens for PredicateType
[src]
[+]
impl ToTokens for PredicateType
impl Clone for PredicateType
[src]
[+]
impl Clone for PredicateType
impl From<PredicateType> for WherePredicate
[src]
[+]
impl From<PredicateType> for WherePredicate
Auto Trait Implementations
impl !Send for PredicateType
impl !Send for PredicateType
impl !Sync for PredicateType
impl !Sync for PredicateType