Trait robusta_jni::convert::JavaValue
source · [−]pub trait JavaValue<'env> {
fn autobox(self, env: &JNIEnv<'env>) -> JObject<'env>;
fn unbox(s: JObject<'env>, env: &JNIEnv<'env>) -> Self;
}
Expand description
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