1. Use a binding to a library or write your own. Gtk bindings are probably the most mature option, but there are some exciting in-progress ones.
2. Yes. One is even provided in the standard library, if that suits your needs. However, most people don’t use linked lists because other data structures are near-universally better.
3. Rust doesn’t have classes, but you can do something similar. The name is the “newtype pattern.”
2. Yes. One is even provided in the standard library, if that suits your needs. However, most people don’t use linked lists because other data structures are near-universally better.
3. Rust doesn’t have classes, but you can do something similar. The name is the “newtype pattern.”