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

Rust

8242 readers
19 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
top 3 comments
sorted by: hot top controversial new old
[–] nialv7@lemmy.world 4 points 2 weeks ago (2 children)

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

[–] KillTheMule@programming.dev 3 points 1 week 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 weeks ago

Yes and no.

And you clearly missed the enums part.