Derive Macro swc_plugin::utils::swc_common::TypeEq
[−]#[derive(TypeEq)]
{
// Attributes available to this derive:
#[not_type]
#[use_eq]
#[use_eq_ignore_span]
}
Expand description
- Field annotated with
#[use_eq]
will be compared using==
. - Field annotated with
#[not_type]
will be ignored