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