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

Produce trait with custom name #3

Open
jerry73204 opened this issue Jul 24, 2020 · 0 comments
Open

Produce trait with custom name #3

jerry73204 opened this issue Jul 24, 2020 · 0 comments

Comments

@jerry73204
Copy link

It happens for me that I have to share generated traits across modules. Better if the trait name can be specified explicitly. For example,

// generates `trait MyName<Type_0, Type_1, Type_2> {..}`
named_unzip_n!(MyName, 3);

// another module
use utils::MyName;

Also, it would save me some time if the crate could have generated traits out of box.

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