Crates.io | discriminant_hash_eq |
lib.rs | discriminant_hash_eq |
version | 0.1.0 |
source | src |
created_at | 2024-08-09 01:35:40.626235 |
updated_at | 2024-08-09 01:35:40.626235 |
description | The DiscriminantHashEq macro is designed to derive implementations of the Hash, PartialEq, and Eq traits for enum types. These implementations are based solely on the enum's variant discriminants, ignoring any associated data within the variants. This means that two enum values are considered equal if they are the same variant, regardless of the values of any fields they might contain. |
homepage | |
repository | |
max_upload_size | |
id | 1330201 |
size | 4,211 |