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: Lifetime
colon_token: Option<Colon>
bounds: Punctuated<Lifetime, Add>
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LifetimeDef
impl !Send for LifetimeDef
impl !Sync for LifetimeDef
impl Unpin for LifetimeDef
impl UnwindSafe for LifetimeDef
Blanket Implementations
Mutably borrows from an owned value. Read more