Call for testing: Restricting trait implementability and field mutability | Inside Rust Blog

2 months ago by U+1F914 🤔 to c/rust

Want to follow along with Rust development? Curious how you might get involved? Take a look!
nialv7 4 points 2 months ago

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

path: 0 25215896, hotness: undefined, score: 4, children: 2
KillTheMule 3 points 2 months ago

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

path: 0 25215896 25243316, hotness: undefined, score: 3, children: 0
BB_C 2 points 2 months ago

Yes and no.

And you clearly missed the enums part.

path: 0 25215896 25216657, hotness: undefined, score: 2, children: 0
rust
rust

@programming.dev

login for more options
8329
1423
338

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)

go to feed...