Trait robusta_jni::convert::unchecked::FromJavaValue
source · [−]pub trait FromJavaValue<'env: 'borrow, 'borrow>: Signature {
type Source: JavaValue<'env>;
const SIG_TYPE: &'static str;
fn from(s: Self::Source, env: &'borrow JNIEnv<'env>) -> Self;
}
Expand description
Conversion trait from Java values to Rust values, analogous to From. Used when converting types that are input to JNI-available functions.
Notes on derive macro
The same notes on TryFromJavaValue
apply.