Derive Macro swc_core::ecma::utils::swc_common::TypeEq
#[derive(TypeEq)]
{
// Attributes available to this derive:
#[not_type]
#[use_eq]
#[use_eq_ignore_span]
}
Available on crate features
__ecma
and __utils
only.Expand description
Derives swc_common::TypeEq
.
- Field annotated with
#[use_eq]
will be compared using==
. - Field annotated with
#[not_type]
will be ignored