24
you are viewing a single comment's thread
view the rest of the comments
[-] nialv7@lemmy.world 4 points 2 days ago

So basically language support for sealed traits and reducing need for getter functions. Kinda neat but not that significant.

[-] KillTheMule@programming.dev 2 points 1 day ago

As mentioned in the article, it enables scenarios that getters/setters can't because of the borrow checker.

[-] BB_C@programming.dev 2 points 2 days ago

Yes and no.

And you clearly missed the enums part.

this post was submitted on 10 Aug 2026
24 points (100.0% liked)

Rust

8209 readers
39 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS