4 Commits

Author SHA1 Message Date
Ragotzy.devin
33ac5267a9
Implement MessageEvent and AnyMessageEventContent 2020-06-07 01:18:34 +02:00
Ragotzy.devin
80ff10ae6a
Move event content collection trait impl's into macro code
* Move the EventContent and content marker traits into macro.
* Move the raw AnyStateEventContent enum and RawEventContent trait into macro, generate all of the AnyStateEventContent type and impls needed for raw.
* Factor out raw mod codegen to seperate fn, add docs to codegen enum + variants, remove unused imports
2020-06-07 01:11:15 +02:00
Jonas Platte
5091b9a9a8
Integrate generic event types and EventContent trait with TryFromRaw 2020-06-07 01:11:15 +02:00
Ragotzy.devin
3814690b29
event_content_collection!: implement parsing input and generating an enum 2020-06-07 01:11:15 +02:00