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

Derive Clone and PartialEq for Frame #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rukai
Copy link
Contributor

@rukai rukai commented Nov 4, 2021

Clone is very useful, it allows:

  • modifying a frame while leaving the original untouched
  • Sending a frame to another thread/task while retaining a local copy.

PartialEq is a little unusual but we happen to need it and it doesnt require any nested PartialEq additions.
Let me know if its problematic and I can investigate ways in which we can avoid needing it.

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

Successfully merging this pull request may close these issues.

1 participant