diff options
| author | HampusM <hampus@hampusmat.com> | 2026-06-13 18:32:07 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-06-13 18:32:07 +0200 |
| commit | 5cdb4b0adb55cf2995e999135c5f3e9d6da70843 (patch) | |
| tree | 9a0fa0fc2f01546ac812061febd377262d097204 /engine-reflection/src/lib.rs | |
| parent | 6107d9b8f6c02f4a0dbca081d7e028ec77f1c84b (diff) | |
Diffstat (limited to 'engine-reflection/src/lib.rs')
| -rw-r--r-- | engine-reflection/src/lib.rs | 3 |
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)] |
