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 trait for public structs #15

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

vladbat00
Copy link
Contributor

@vladbat00 vladbat00 commented Apr 2, 2022

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

The title is pretty much self-explanatory: I've made all the public structs cloneable. This change should make it easier if there's a need to get an owned copy of a struct in a borrowed context.

P.S. Thanks a lot for maintaining this SDK! It's great to have Agones available on crates.io.

Copy link
Member

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Jake-Shadle Jake-Shadle merged commit 214c3b5 into EmbarkStudios:main Apr 4, 2022
@vladbat00 vladbat00 deleted the derive-clone branch April 4, 2022 09:09
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.

2 participants