Type Alias binder_ndk_sys::AParcel_writeParcelableElement

source ·
pub type AParcel_writeParcelableElement = Option<unsafe extern "C" fn(parcel: *mut AParcel, arrayData: *const c_void, index: usize) -> binder_status_t>;
Expand description

This is called to parcel the underlying data from an arrayData object at index.

See also AParcel_writeParcelableArray

\param parcel parcel to write the parcelable to \param arrayData some external representation of an array of parcelables (a user-defined type). \param index the index of the value to be retrieved.

\return status (usually returned from other parceling functions). STATUS_OK for success.

Aliased Type§

enum AParcel_writeParcelableElement {
    None,
    Some(unsafe extern "C" fn(_: *mut AParcel, _: *const c_void, _: usize) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut AParcel, _: *const c_void, _: usize) -> i32)

Some value of type T.