Struct syn::PredicateLifetime
source · [−]pub struct PredicateLifetime {
pub lifetime: Lifetime,
pub colon_token: Colon,
pub bounds: Punctuated<Lifetime, Add>,
}This is supported on crate features
full or derive only.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.
impl PartialEq<PredicateLifetime> for PredicateLifetime
This is supported on crate feature extra-traits only.
impl PartialEq<PredicateLifetime> for PredicateLifetime
This is supported on crate feature
extra-traits only.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