vwbusguy, 17 days ago @nedbat Indeed - the key just needs to be immutable and unique. I did something like this in a Rust program once, but using defined structs. Unsurprisingly, the python way is much less verbose. https://github.com/vwbusguy/curses-examples/blob/master/rust/src/main.rs
@nedbat Indeed - the key just needs to be immutable and unique.
I did something like this in a Rust program once, but using defined structs. Unsurprisingly, the python way is much less verbose.
https://github.com/vwbusguy/curses-examples/blob/master/rust/src/main.rs