Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store operations in enum(s) #166

Open
KyGost opened this issue Apr 20, 2022 · 3 comments
Open

Store operations in enum(s) #166

KyGost opened this issue Apr 20, 2022 · 3 comments

Comments

@KyGost
Copy link
Member

KyGost commented Apr 20, 2022

Resolution to: #142

Ideally after: #144

Should be unit enums.
Usage is entirely(?) within Recipes

@KyGost
Copy link
Member Author

KyGost commented Apr 20, 2022

Should implement

  • From<&str>
  • Into<String>/Serialize
  • Execute

@KyGost
Copy link
Member Author

KyGost commented Apr 20, 2022

Should implement From<&str>, Into<String>/Serialize

@KyGost
Copy link
Member Author

KyGost commented Apr 20, 2022

Maybe functions should have different traits/enums for different numbers of variables, rather than just accepting Vec?

Maybe have:

  • Execute1
  • Execute2
  • ...
  • ExecuteVec

And functions may implement multiple.

Use macro to create?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant