Crates.io | pyo3_special_method_derive_lib |
lib.rs | pyo3_special_method_derive_lib |
version | 0.3.1 |
source | src |
created_at | 2024-06-25 18:07:51.981234 |
updated_at | 2024-07-19 18:43:18.00245 |
description | Automatically derive Python dunder methods for your Rust code |
homepage | |
repository | https://github.com/EricLBuehler/pyo3-special-method-derive |
max_upload_size | |
id | 1283593 |
size | 8,887 |
This crate provides traits necessary for pyo3-special-method-derive.
This crate exports 2 traits which should be implemented for every type for which its field or variant is not skipped.
It also exports a macro to use the Debug and Display traits to generate a PyDebug and PyDisplay implementation.