rustc_ty_utils

Module structural_match

Source

Functionsยง

  • This method returns true if and only if adt_ty itself has been marked as eligible for structural-match: namely, if it implements StructuralPartialEq (which is injected by #[derive(PartialEq)]).
  • provide ๐Ÿ”’