Type Definition jni::objects::JValue

source ·
pub type JValue<'local, 'obj_ref> = JValueGen<&'obj_ref JObject<'local>>;
Expand description

A reference JValueGen.

This type is used for parameters passed to Java method calls. If the Java method is to be passed an object reference, it takes the form of a borrowed &JObject.

Trait Implementations§

source§

impl<'local: 'obj_ref, 'obj_ref, T: AsRef<JObject<'local>>> From<&'obj_ref T> for JValue<'local, 'obj_ref>

source§

fn from(other: &'obj_ref T) -> Self

Converts to this type from the input type.