diff options
Diffstat (limited to 'ir/annotations.rs')
-rw-r--r-- | ir/annotations.rs | 2 |
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, |