You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, this should work with d5b806a
Additionally, it can accept generic types, as you can see in https://github.com/rust-bakery/machine/blob/master/tests/traffic_light.rs
I would advise that you do not abuse this feature, though, because I'm not sure it can work with all syntaxes (as an example, trait bounds would probably fail)
then I need to implement Debug, Clone and PartialEq (Eq) for all of them, for every message struct. This is a lot of boilerplate. And then I still have the problem I can't do component: &'a mut dyn Component+Clone, or deriving Clone for a trait object at all.
So that's why I've removed the derive. I haven't needed it so far.
I'm grateful that you've maintained this create and I don't know how other people would solve this -- could this derive be optional?
Thanks
Hello,
I'd like to specify lifetimes for a message. Manually implementing them works fine, so this is something the parser could support. See this reference
how it looks if done manually:
this library
Thank you
The text was updated successfully, but these errors were encountered: