-
Hi. Thanks for the great work. Is there an option to indicate a trait function should have a "&mut self" parameter opposed to the default "&self"? Such that one doesn't have to post edit the auto-generated file. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hi, Could you elaborate on which use case this would be helpful for you? What parameters are you running codegen with? |
Beta Was this translation helpful? Give feedback.
-
The problem here is that the way dbus-tree is designed, it does not have access to |
Beta Was this translation helpful? Give feedback.
-
I see. I'll take a look at dbus-crossroads. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @jwinarske! I've written an implementation of codegen for dbus-crossroads now, just pushed to git master. Would you like to try it out and see if it fits your needs? When using the crossroads option, the trait will take |
Beta Was this translation helpful? Give feedback.
Hi @jwinarske!
I've written an implementation of codegen for dbus-crossroads now, just pushed to git master. Would you like to try it out and see if it fits your needs? When using the crossroads option, the trait will take
&mut self
instead of&self
.