Trait robusta_jni::convert::JavaValue [−][src]
A trait for types that are ffi-safe to use with JNI. It is implemented for primitives, JObject and jobject. Users that want automatic conversion should instead implement FromJavaValue, IntoJavaValue and/or TryFromJavaValue, TryIntoJavaValue
Required methods
fn autobox(self, env: &JNIEnv<'env>) -> JObject<'env>
[src]
Convert instance to a JObject
.
fn unbox(s: JObject<'env>, env: &JNIEnv<'env>) -> Self
[src]
Convert JObject
to the implementing type.