Struct syn::AssocConst
source · pub struct AssocConst {
pub ident: Ident,
pub generics: Option<AngleBracketedGenericArguments>,
pub eq_token: Eq,
pub value: Expr,
}
Expand description
An equality constraint on an associated constant: the PANIC = false
in
Trait<PANIC = false>
.
Fields§
§ident: Ident
§generics: Option<AngleBracketedGenericArguments>
§eq_token: Eq
§value: Expr