You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this comment there are cases where the arguments to a #[new] method on a Python type map 1:1 to the initialization of a Rust type (besides possibly using PyTryFrom). The resulting code is pretty straightforward and should work as a general purpose macro.
The text was updated successfully, but these errors were encountered:
As mentioned in this comment there are cases where the arguments to a
#[new]
method on a Python type map 1:1 to the initialization of a Rust type (besides possibly usingPyTryFrom
). The resulting code is pretty straightforward and should work as a general purpose macro.The text was updated successfully, but these errors were encountered: