Skip to content
Discussion options

You must be logged in to vote

The attribute access self.core.inner returns a copy of the object; any changes you make will not be reflected there.

If you need to return a reference instead, the struct member has to be Py<InnerStruct>.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mejrs
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants
Converted from issue

This discussion was converted from issue #1973 on November 08, 2021 22:25.