Struct syn::PredicateLifetime
source · pub struct PredicateLifetime {
pub lifetime: Lifetime,
pub colon_token: Colon,
pub bounds: Punctuated<Lifetime, Plus>,
}Expand description
A lifetime predicate in a where clause: 'a: 'b + 'c.
Fields§
§lifetime: Lifetime§colon_token: Colon§bounds: Punctuated<Lifetime, Plus>Trait Implementations§
source§impl From<PredicateLifetime> for WherePredicate
impl From<PredicateLifetime> for WherePredicate
source§fn from(e: PredicateLifetime) -> WherePredicate
fn from(e: PredicateLifetime) -> WherePredicate
Converts to this type from the input type.