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

How to new a struct (copy) from a exist struct ? #41

Open
kimyLee opened this issue Jan 21, 2020 · 0 comments
Open

How to new a struct (copy) from a exist struct ? #41

kimyLee opened this issue Jan 21, 2020 · 0 comments

Comments

@kimyLee
Copy link

kimyLee commented Jan 21, 2020

How can I new a struct (copy) from a exist struct ? for I want to return new stuct in a function, rather then keep the ref of the exist one.

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