How to downcast a PyAny into custom pyclass #3037
Unanswered
shenjackyuanjie
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a pyclass here
and I wish to downcast some
PyAny
into it by usingpy.downcast::<CameraRs>()?
how can I do it?
(or say, how can I impl PyTryFrom for my pyclass
Beta Was this translation helpful? Give feedback.
All reactions