vwbusguy,
@vwbusguy@mastodon.online avatar

@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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • tacticalgear
  • InstantRegret
  • Youngstown
  • slotface
  • rosin
  • love
  • kavyap
  • ngwrru68w68
  • mdbf
  • modclub
  • DreamBathrooms
  • Leos
  • khanakhh
  • GTA5RPClips
  • cisconetworking
  • everett
  • Durango
  • cubers
  • tester
  • provamag3
  • anitta
  • ethstaker
  • normalnudes
  • megavids
  • JUstTest
  • All magazines