macro_rules! impl_serialize_for_parcelable {
($parcelable:ident) => { ... };
($parcelable:ident < $( $param:ident ),* , >) => { ... };
($parcelable:ident < $( $param:ident ),* > ) => { ... };
}
Expand description
Implement Serialize
trait and friends for a parcelable
This is an internal macro used by the AIDL compiler to implement
Serialize
, SerializeArray
and SerializeOption
for
structured parcelables. The target type must implement the
Parcelable
trait.