Struct jni::NativeMethod
source · [−]Expand description
Native method descriptor.
Fields
name: JNIString
Name of method.
sig: JNIString
Method signature.
fn_ptr: *mut c_void
Pointer 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.
Auto Trait Implementations
impl RefUnwindSafe for NativeMethod
impl !Send for NativeMethod
impl !Sync for NativeMethod
impl Unpin for NativeMethod
impl UnwindSafe for NativeMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more