Skip to content

"&mut self" function parameter in autogenerated trait #309

Answered by diwic
jwinarske asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@jwinarske
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@jwinarske
Comment options

@diwic
Comment options

@jwinarske
Comment options

@diwic
Comment options

@jwinarske
Comment options

Answer selected by diwic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants