24
you are viewing a single comment's thread
view the rest of the comments
[-] 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.

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