Luro02 / shorthand

A proc-macro to derive getter, setter and mut getter for structs in rust.
Apache License 2.0
6 stars 0 forks source link

implement primitive copy for more types from std #5

Closed Luro02 closed 4 years ago

Luro02 commented 4 years ago

Here is a list of all types; https://doc.rust-lang.org/std/marker/trait.Copy.html

Note

Arrays and References are sometimes copy.

Luro02 commented 4 years ago

I think ! and an empty () can be ignored. If there are types inside () like (u8, u64), they should be checked for copy individually.