Skip to content

Add TypeInfo variants for tagged unions (enums)

Pre-release
Pre-release
Compare
Choose a tag to compare
@Techcable Techcable released this 06 Aug 21:55
· 20 commits to master since this release
ae80c75
  • Define API support for tagged unions (enums)
    • Right now, procedural derive doesn't support generating this: #3
  • Define an API to explicitly define C-style enums, instead of treating them as plain integers
    • Unfortunately, just like the tagged unions feature, procedural derive doesn't support this yet: #2
  • Support tuple-structs for #[derive(StaticReflect)]
  • Allow specifying an expected type for field_offset!
    • Allow using field_offset! with tuple-structs
  • Create a new 'IntType' structure, replacing the old TypeInfo::Integer