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
The with_blabla API seems a bit too magical to me.
I think it would be beneficial to show the user that it simply modifies some fields in the attributes, and that the user can manually modify them as well. It would also make it possible to expose the default values in a clean fashion.
However the struct would need some cleanup before being made public (it's not just adding pub in front of it). For example the headless member should disappear. I also don't want it to be possible to have an invalid state.
The text was updated successfully, but these errors were encountered:
The
with_blabla
API seems a bit too magical to me.I think it would be beneficial to show the user that it simply modifies some fields in the attributes, and that the user can manually modify them as well. It would also make it possible to expose the default values in a clean fashion.
However the struct would need some cleanup before being made public (it's not just adding
pub
in front of it). For example theheadless
member should disappear. I also don't want it to be possible to have an invalid state.The text was updated successfully, but these errors were encountered: