Functions that refer to types inside "resources" are not helped by the assign_resources macro because the types they refer to must still be manually changed.
Thanks, looks good! Yes, please add an example of this to the README and docstring. I think ideally just add the alias to one or two of the existing pins, but whatever you think looks best.
Motivation
Functions that refer to types inside "resources" are not helped by the
assign_resources
macro because the types they refer to must still be manually changed.Solution
Ability to add type aliases if desired like so:
And use them:
@adamgreig would you like me to change the README/docstring in lib.rs to demonstrate this option?