Move cancellable to the type system and implement multi-parenting
Ah yes, having the macro generate an enum large enough for each type would probably work great. I'm not sure if Rust supports turning a ty
into an ident
though.
Move cancellable to the type system and implement multi-parenting
Hook priorities is quite a large problem with the way this system is implemented. Rust really doesn't have a good built-in system for dynamic typing and downcasting which will have to be done in order to respect hook priorities since we'll be mixing up handlers a lot.
Move cancellable to the type system and implement multi-parenting
This is the output produced when run with cargo test -- --nocapture
Move cancellable to the type system and implement multi-parenting
fedb32d242
collate cancelled
3c3e8754ad
add multi-parenting
5b7b4f1e12
make cancellation a type property