summaryrefslogtreecommitdiff
path: root/engine-reflection/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-reflection/src/lib.rs')
-rw-r--r--engine-reflection/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine-reflection/src/lib.rs b/engine-reflection/src/lib.rs
index bad26df..c8b0004 100644
--- a/engine-reflection/src/lib.rs
+++ b/engine-reflection/src/lib.rs
@@ -80,6 +80,9 @@ pub struct Enum
/// The enum only contains unit variants.
pub is_unit_only: bool,
+
+ pub discriminant_layout: Layout,
+ pub fields_layout: Option<Layout>,
}
#[derive(Debug, Clone)]