Open kimyLee opened 4 years ago
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.
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.