Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Rust Doesn't Have Named Arguments. So What?
(opens in new tab)
(thoughtbot.com)
2 points
romac
4mo ago
2 comments
Save
Share
2 comments
2 comments · 1 top-level
top
newest
oldest
stop50
4mo ago
· 1 in thread
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.
romac
OP
4mo ago
Yes there are many such crates, which can indeed kinda fill the gap. One of the more recent one is
https://docs.rs/bon
j
/
k
navigate · click thread line to collapse