forge_fmt::solang_ext::ast_eqMacro derive_ast_eq
Source macro_rules! derive_ast_eq {
($name:ident) => { ... };
(($($index:tt $gen:tt),*)) => { ... };
(struct $name:ident { $($field:ident),* $(,)? }) => { ... };
(enum $name:ident {
$($unit_variant:ident),* $(,)?
_
$($tuple_variant:ident ( $($(#[ast_eq_use($tuple_convert_func:ident)])? $tuple_field:ident),* $(,)? )),* $(,)?
_
$($struct_variant:ident { $($(#[ast_eq_use($struct_convert_func:ident)])? $struct_field:ident),* $(,)? }),* $(,)?
}) => { ... };
}