diff --git a/src/lib.rs b/src/lib.rs index d9680eb..9522e8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -320,6 +320,7 @@ pub trait Flags: } } +#[repr(C)] #[derive(Copy, Clone, Eq, Hash)] pub struct FlagSet(F::Type);