Struct syn::PredicateLifetime [−][src]
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: Lifetime
colon_token: Colon
bounds: Punctuated<Lifetime, Add>
Trait Implementations
This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.Performs the conversion.
This is supported on crate feature
extra-traits
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
printing
only.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