Derive Macro swc_common::TypeEq

source · []
#[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