Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Rust Doesn't Have Named Arguments. So What?
(
thoughtbot.com
)
2 points
by
romac
6 months ago
|
hide
|
past
|
favorite
|
2 comments
stop50
6 months ago
[–]
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
6 months ago
|
parent
[–]
Yes there are many such crates, which can indeed kinda fill the gap. One of the more recent one is
https://docs.rs/bon
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: