You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a thing in Rust called builder pattern which is super convinient to build a struct in-place, ConfigBuilder, however, doesn't do that, it instead needs a mutable reference, can you add methods to construct ConfigBuilder in-place? I also think that reading ConfigBuilder docs is a bit of a pain when every option starts with set_, it makes it harder to read.
The text was updated successfully, but these errors were encountered:
There's a thing in Rust called builder pattern which is super convinient to build a struct in-place,
ConfigBuilder
, however, doesn't do that, it instead needs a mutable reference, can you add methods to constructConfigBuilder
in-place? I also think that readingConfigBuilder
docs is a bit of a pain when every option starts withset_
, it makes it harder to read.The text was updated successfully, but these errors were encountered: