This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // WARNING: THIS CODE IS A HACKY PROTOTYPE FOR TOY PURPOSES ONLY. | |
| // CHOOSING TO COPY THIS CODE INTO YOUR RUST PROGRAM IS WILDLY UNSOUND. | |
| // | |
| // ping me (davidhewitt) on the PyO3 issue tracker and we can figure out | |
| // how to do this safely. | |
| use std::collections::{HashMap, hash_map::Iter as MapIter}; | |
| // pyclass 1 | |
| pub struct Class { |