Skip to content

Allow traits to require implementors to implement at least one of a set of methods #1139

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

Closed
BlacklightShining opened this issue May 30, 2015 · 1 comment

Comments

@BlacklightShining
Copy link

This could be used in std::cmp::PartialEq, for example, allowing implementors to implement either eq() or ne() and be provided with the other.

@BlacklightShining BlacklightShining changed the title Allow traits to provide default implementations and require implementors to implement at least one of a set of methods Allow traits to require implementors to implement at least one of a set of methods May 30, 2015
@BlacklightShining
Copy link
Author

Whoops, this is a duplicate of #628.

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