#[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_void
§reserved1: *mut c_void
§reserved2: *mut c_void
§DestroyJavaVM: 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§
Source§impl Clone for JNIInvokeInterface
impl Clone for JNIInvokeInterface
Source§fn clone(&self) -> JNIInvokeInterface
fn clone(&self) -> JNIInvokeInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JNIInvokeInterface
impl Debug for JNIInvokeInterface
impl Copy for JNIInvokeInterface
Auto Trait Implementations§
impl Freeze for JNIInvokeInterface
impl RefUnwindSafe for JNIInvokeInterface
impl !Send for JNIInvokeInterface
impl !Sync for JNIInvokeInterface
impl Unpin for JNIInvokeInterface
impl UnwindSafe for JNIInvokeInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more