From 6d49c02eb3c1fbf61629b79f87ca7abf0700ccce Mon Sep 17 00:00:00 2001 From: EliseZeroTwo Date: Sat, 22 Jan 2022 13:51:12 +0100 Subject: chore: rust: add common useful derive macros to enums that are missing it --- rust/src/section.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src/section.rs') diff --git a/rust/src/section.rs b/rust/src/section.rs index aae973f4..eb742e54 100644 --- a/rust/src/section.rs +++ b/rust/src/section.rs @@ -21,6 +21,7 @@ use crate::binaryview::BinaryView; use crate::rc::*; use crate::string::*; +#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)] pub enum Semantics { DefaultSection, ReadOnlyCode, -- cgit v1.3.1