Struct syn::ConstParam [−][src]
A const generic parameter: const LENGTH: usize
.
This type is available if Syn is built with the "derive"
or
"full"
feature.
Fields
attrs: Vec<Attribute>
const_token: Const
ident: Ident
colon_token: Colon
ty: Type
eq_token: Option<Eq>
default: Option<Expr>
Trait Implementations
impl Synom for ConstParam
[src]
[+]
impl Synom for ConstParam
impl ToTokens for ConstParam
[src]
[+]
impl ToTokens for ConstParam
impl Clone for ConstParam
[src]
[+]
impl Clone for ConstParam
impl From<ConstParam> for GenericParam
[src]
[+]
impl From<ConstParam> for GenericParam
Auto Trait Implementations
impl !Send for ConstParam
impl !Send for ConstParam
impl !Sync for ConstParam
impl !Sync for ConstParam