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: Lifetime
colon_token: Colon
bounds: Punctuated<Lifetime, Add>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PredicateLifetime
impl !Send for PredicateLifetime
impl !Sync for PredicateLifetime
impl Unpin for PredicateLifetime
impl UnwindSafe for PredicateLifetime
Blanket Implementations
Mutably borrows from an owned value. Read more