rust: Add support for parameterized types

The existing impl_ser/de macros did not work on types with type
parameters. This adds rudimentary support for type parameters while
continuing to support parameterless invocation.

Bug: 168138645
Test: mma in aidl
Change-Id: I8ee4ea4ff49215e15c0e035c72215a36dcc07637
1 file changed