Struct syn::PredicateLifetime [−][src]
pub struct PredicateLifetime { pub lifetime: Lifetime, pub colon_token: Colon, pub bounds: Punctuated<Lifetime, Add>, }
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
impl Clone for PredicateLifetime
[src]
impl Clone for PredicateLifetime
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<PredicateLifetime> for WherePredicate
[src]
impl From<PredicateLifetime> for WherePredicate
[src]fn from(e: PredicateLifetime) -> WherePredicate
[src]
impl Hash for PredicateLifetime
[src]
impl Hash for PredicateLifetime
[src]impl PartialEq<PredicateLifetime> for PredicateLifetime
[src]
impl PartialEq<PredicateLifetime> for PredicateLifetime
[src]impl ToTokens for PredicateLifetime
[src]
impl ToTokens for PredicateLifetime
[src]