diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-07 12:42:28 +0000 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-08 09:20:46 -0800 |
commit | 0aad1c4fe42e4c550a4a6225743d184b85618518 (patch) | |
tree | 40c7de09d4dd4ba155c4596609ad5199cc769c81 /syn-mid/examples/const_fn/lib.rs | |
parent | 2dcceb1d5889f6eac6262f38506c58066a898f76 (diff) | |
download | nitrocli-0aad1c4fe42e4c550a4a6225743d184b85618518.tar.gz nitrocli-0aad1c4fe42e4c550a4a6225743d184b85618518.tar.bz2 |
Allow adding fields to an enum variant in Command!
To be able to use the enums generated by Command! with structopt, we
have to be able to add fields to them. This patch adds a new variant to
the Command! macro that supports fields.
Diffstat (limited to 'syn-mid/examples/const_fn/lib.rs')
0 files changed, 0 insertions, 0 deletions