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

Another proc-macro to forward functions of fields #24

Open Luro02 opened 4 years ago

Luro02 commented 4 years ago

For most things one can use the Deref and DerefMut trait, but there are some types like usize, where most functions take self by value and create a new Self as the output. Such functions are ignored by Deref.