aboutsummaryrefslogtreecommitdiff
path: root/ir/annotations.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ir/annotations.rs')
-rw-r--r--ir/annotations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/annotations.rs b/ir/annotations.rs
index 423f6c4..d085f5c 100644
--- a/ir/annotations.rs
+++ b/ir/annotations.rs
@@ -9,7 +9,7 @@ use std::str::FromStr;
use crate::clang;
/// What kind of visibility modifer should be used for a struct or field?
-#[derive(Copy, PartialEq, Eq, Clone, Debug)]
+#[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Clone, Debug)]
pub enum FieldVisibilityKind {
/// Fields are marked as private, i.e., struct Foo {bar: bool}
Private,