Rust Doesn't Have Named Arguments. So What?(thoughtbot.com)
thoughtbot.com
Rust Doesn't Have Named Arguments. So What?
https://thoughtbot.com/blog/rust-doesn-t-have-named-arguments-so-what
2 comments
Years 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.
Yes there are many such crates, which can indeed kinda fill the gap. One of the more recent one is https://docs.rs/bon