Skip to content
Discussion options

You must be logged in to vote

I am not sure I understand the problem correctly, but did you try to put the get_rust_data method into a separate impl block with #[pymethods]? (I assume you want to access the internals from the Rust side, not from the Python side.)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shenjackyuanjie
Comment options

@shenjackyuanjie
Comment options

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