logoalt Hacker News

incrediblers • yesterday at 9:19 PM • 1 reply • view on HN

They are setters. They modify an element after instantiation. Mostly as part of the initial build, but then also in the event closure. Under the hood, a struct with interiorly mutable fields.


Replies

fwip • yesterday at 11:53 PM

Gotcha, so in your case, users of the library will set values much more often than read them (since the reading will be done by the TUI framework for display).