Skip to content

Default value for ArgGroup #5286

Answered by epage
b1rger asked this question in Q&A
Discussion options

You must be logged in to vote

At this time, no.

#2621 will allow the derive to specify these as an enum. You could wrap that in a Option and then unwrap_or_default.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by b1rger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants