Struct syn::LifetimeParam
source · pub struct LifetimeParam {
pub attrs: Vec<Attribute>,
pub lifetime: Lifetime,
pub colon_token: Option<Colon>,
pub bounds: Punctuated<Lifetime, Plus>,
}Expand description
A lifetime definition: 'a: 'b + 'c + 'd.
Fields§
§attrs: Vec<Attribute>§lifetime: Lifetime§colon_token: Option<Colon>§bounds: Punctuated<Lifetime, Plus>Implementations§
Trait Implementations§
source§impl From<LifetimeParam> for GenericParam
impl From<LifetimeParam> for GenericParam
source§fn from(e: LifetimeParam) -> GenericParam
fn from(e: LifetimeParam) -> GenericParam
Converts to this type from the input type.