Struct syn::LifetimeDef [−][src]
pub struct LifetimeDef {
    pub attrs: Vec<Attribute>,
    pub lifetime: Lifetime,
    pub colon_token: Option<Colon>,
    pub bounds: Punctuated<Lifetime, Add>,
}A lifetime definition: 'a: 'b + 'c + 'd.
This type is available only if Syn is built with the "derive" or
"full" feature.
Fields
attrs: Vec<Attribute>lifetime: Lifetimecolon_token: Option<Colon>bounds: Punctuated<Lifetime, Add>Implementations
Trait Implementations
impl Clone for LifetimeDef[src]
impl Clone for LifetimeDef[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl From<LifetimeDef> for GenericParam[src]
impl From<LifetimeDef> for GenericParam[src]fn from(e: LifetimeDef) -> GenericParam[src]
impl Hash for LifetimeDef[src]
impl Hash for LifetimeDef[src]impl Parse for LifetimeDef[src]
impl Parse for LifetimeDef[src]fn parse(input: ParseStream<'_>) -> Result<Self>[src]
impl PartialEq<LifetimeDef> for LifetimeDef[src]
impl PartialEq<LifetimeDef> for LifetimeDef[src]impl ToTokens for LifetimeDef[src]
impl ToTokens for LifetimeDef[src]