Struct jni::NativeMethod [−][src]
Expand description
Native method descriptor.
Fields
name: JNIStringName of method.
sig: JNIStringMethod signature.
fn_ptr: *mut c_voidPointer to native function with signature
fn(env: JNIEnv, class: JClass, ...arguments according to sig) -> RetType
for static methods or
fn(env: JNIEnv, object: JObject, ...arguments according to sig) -> RetType
for instance methods.