Struct syn::LifetimeDef [−][src]
pub struct LifetimeDef {
pub attrs: Vec<Attribute>,
pub lifetime: Lifetime,
pub colon_token: Option<Colon>,
pub bounds: Punctuated<Lifetime, Add>,
}Expand description
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LifetimeDefimpl !Send for LifetimeDefimpl !Sync for LifetimeDefimpl Unpin for LifetimeDefimpl UnwindSafe for LifetimeDefBlanket Implementations
Mutably borrows from an owned value. Read more