Enum syn::GenericParam [−][src]
A generic type parameter, lifetime, or const generic: T: Into<String>
,
'a: 'b
, const LEN: usize
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Syntax tree enum
This type is a syntax tree enum.
Variants
Type(TypeParam)
A generic type parameter: T: Into<String>
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Lifetime(LifetimeDef)
A lifetime definition: 'a: 'b + 'c + 'd
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Const(ConstParam)
A const generic parameter: const LENGTH: usize
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Trait Implementations
impl Synom for GenericParam
[src]
[+]
impl Synom for GenericParam
impl Clone for GenericParam
[src]
[+]
impl Clone for GenericParam
impl From<TypeParam> for GenericParam
[src]
[+]
impl From<TypeParam> for GenericParam
impl From<LifetimeDef> for GenericParam
[src]
[+]
impl From<LifetimeDef> for GenericParam
impl From<ConstParam> for GenericParam
[src]
[+]
impl From<ConstParam> for GenericParam
impl ToTokens for GenericParam
[src]
[+]
impl ToTokens for GenericParam
Auto Trait Implementations
impl !Send for GenericParam
impl !Send for GenericParam
impl !Sync for GenericParam
impl !Sync for GenericParam