Struct syn::LifetimeDef [−][src]
A lifetime definition: 'a: 'b + 'c + 'd
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Fields
attrs: Vec<Attribute>
lifetime: Lifetime
colon_token: Option<Colon>
bounds: Punctuated<Lifetime, Add>
Methods
impl LifetimeDef
[src]
[−]
impl LifetimeDef
Trait Implementations
impl Synom for LifetimeDef
[src]
[+]
impl Synom for LifetimeDef
impl ToTokens for LifetimeDef
[src]
[+]
impl ToTokens for LifetimeDef
impl Clone for LifetimeDef
[src]
[+]
impl Clone for LifetimeDef
impl From<LifetimeDef> for GenericParam
[src]
[+]
impl From<LifetimeDef> for GenericParam
Auto Trait Implementations
impl !Send for LifetimeDef
impl !Send for LifetimeDef
impl !Sync for LifetimeDef
impl !Sync for LifetimeDef