5 ms·
Rust Doesn't Have Named Arguments. So What?
- stop50 7mo agoYears ago i read about an rust library that allowed an developer to define an builder where the final buikd method was only accessible when all required methods where called.
- romac 7mo agoYes there are many such crates, which can indeed kinda fill the gap. One of the more recent one is https://docs.rs/bon https://docs.rs/bon