binder

Macro impl_deserialize_for_parcelable

Source
macro_rules! impl_deserialize_for_parcelable {
    ($parcelable:ident) => { ... };
    ($parcelable:ident < $( $param:ident ),* , >) => { ... };
    ($parcelable:ident < $( $param:ident ),* > ) => { ... };
}
Expand description

Implement Deserialize trait and friends for a parcelable

This is an internal macro used by the AIDL compiler to implement Deserialize, DeserializeArray and DeserializeOption for structured parcelables. The target type must implement the Parcelable trait.