dnsbox-derive: also derive PartialOrd, Ord and Hash for native enum wrapper
This commit is contained in:
parent
c503ee65e0
commit
2bde1d30cd
@ -52,7 +52,7 @@ pub fn attribute_native_enum(
|
||||
#known_enum
|
||||
|
||||
#in_attrs
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#in_vis struct #name(pub #native_type);
|
||||
|
||||
impl #name {
|
||||
|
Loading…
Reference in New Issue
Block a user