Struct ndk_sys::JNIInvokeInterface[][src]

#[repr(C)]
pub struct JNIInvokeInterface { pub reserved0: *mut c_void, pub reserved1: *mut c_void, pub reserved2: *mut c_void, pub DestroyJavaVM: Option<unsafe extern "C" fn(arg1: *mut JavaVM) -> jint>, pub AttachCurrentThread: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut JNIEnv, arg3: *mut c_void) -> jint>, pub DetachCurrentThread: Option<unsafe extern "C" fn(arg1: *mut JavaVM) -> jint>, pub GetEnv: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut c_void, arg3: jint) -> jint>, pub AttachCurrentThreadAsDaemon: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut JNIEnv, arg3: *mut c_void) -> jint>, }

Fields

reserved0: *mut c_voidreserved1: *mut c_voidreserved2: *mut c_voidDestroyJavaVM: Option<unsafe extern "C" fn(arg1: *mut JavaVM) -> jint>AttachCurrentThread: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut JNIEnv, arg3: *mut c_void) -> jint>DetachCurrentThread: Option<unsafe extern "C" fn(arg1: *mut JavaVM) -> jint>GetEnv: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut c_void, arg3: jint) -> jint>AttachCurrentThreadAsDaemon: Option<unsafe extern "C" fn(arg1: *mut JavaVM, arg2: *mut *mut JNIEnv, arg3: *mut c_void) -> jint>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.