Struct syn::PredicateLifetime [−][src]
pub struct PredicateLifetime {
pub lifetime: Lifetime,
pub colon_token: Colon,
pub bounds: Punctuated<Lifetime, Add>,
}Expand description
A lifetime predicate in a where clause: 'a: 'b + 'c.
This type is available only if Syn is built with the "derive" or
"full" feature.
Fields
lifetime: Lifetimecolon_token: Colonbounds: Punctuated<Lifetime, Add>Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PredicateLifetimeimpl !Send for PredicateLifetimeimpl !Sync for PredicateLifetimeimpl Unpin for PredicateLifetimeimpl UnwindSafe for PredicateLifetimeBlanket Implementations
Mutably borrows from an owned value. Read more