Sorry, I can't do that. I have too many types in my program. If I have to write them specific to type then I have to write too many functions or have to derive too many traits.
This way, the macro will take care of expanding it and throws an error if a specific dest
doesn't have a certain type. Which can be fixed simply by adding such a attribute to the struct and initializing to zero.
You can find an example here
I am going to write too many schemes in future.
Here is the same implementation but using functions here.