summaryrefslogtreecommitdiff
path: root/engine-macros
AgeCommit message (Collapse)Author
29 hoursfeat(engine-macros): improve flexibility of Reflection macro on generic typesHampusM
34 hoursfeat(engine): add tagged union info to enum reflectionHampusM
2 daysfeat(engine): add default value retrieval to type reflectionHampusM
5 daysfeat(engine): add discriminant & fields layouts to enum reflectionHampusM
6 daysfix(engine): make Reflection derive macro add Reflection type param boundsHampusM
6 daysfix(engine): no field type refs for generic types deriving ReflectionHampusM
7 daysfix(engine): prevent copying uninitialized data from enum variantsHampusM
7 daysfix(engine-macros): make generic enums able to derive ReflectionHampusM
7 daysfix(engine): use std::any::type_name for field type name reflectionHampusM
8 daysfeat(engine): add discriminants to enum variant reflectionHampusM
9 daysfix(engine-macros): correct reflection of enum field visibilityHampusM
9 daysfeat(engine): add offsets to reflection of enum variant fieldsHampusM
10 daysrefactor(engine-macros): split up into multiple modulesHampusM
10 daysfeat(engine): add enum variant field reflectionHampusM
10 daysfeat(engine): add visibility reflectionHampusM
2026-05-26style: format for Rust edition 2021HampusM
2026-05-26refactor(engine): use Rust edition 2021HampusM
This change is because of a rustfmt bug in the 2024 edition. For example, the following code snippet: ``` struct Value {} struct ParsingError {} trait Keyword {} impl Value { fn parse<KeywordT: Keyword>(value: &str, line_no: usize) -> Result<Self, ParsingError> { todo!(); } } ``` when formatted with `rustfmt --edition 2024 --emit stdout --config max_width=90,brace_style=AlwaysNextLine` becomes: ``` struct Value {} struct ParsingError {} trait Keyword {} impl Value { fn parse<KeywordT: Keyword>(value: &str, line_no: usize) -> Result<Self, ParsingError> { todo!(); } } ```
2026-04-23feat(engine): add enum reflectionHampusM
2026-04-06feat(engine): make Reflection trait unsafeHampusM
2026-04-06refactor(engine): improve names of reflection types & itemsHampusM
2026-04-06feat(engine): make reflection of reflected struct fields optionalHampusM
2026-03-17feat(engine): add macro for reflectionHampusM