Trait jaffi_support::FromJavaValue
source · [−]pub trait FromJavaValue<'j, J>: Sized {
fn from_jvalue(env: JNIEnv<'j>, jvalue: JValue<'j>) -> Self;
}
Expand description
Convert from a JValue (return type in Java) into the Rust type
This is infallible because the generated code using it should “know” that the type is already correct