handle some more event types

This commit is contained in:
Robin Appelman 2023-03-11 22:56:46 +01:00
commit 3ad9ebafd7
5 changed files with 33 additions and 5 deletions

View file

@ -26,6 +26,7 @@ impl Derivable for Events {
Ok(
quote_spanned!(span => impl #impl_generics #enum_ident #ty_generics #where_clause {
pub fn parse(raw: &RawEvent<'a>) -> Result<Self, GameEventError> {
dbg!(raw);
Ok(match raw.ty {
#(#variants)*
_ => {