Skip to main content

JObjectGetters

Trait JObjectGetters 

Source
pub trait JObjectGetters<'l> {
    // Required method
    fn call_getter<T>(&self, name: &str, env: &mut JNIEnv<'l>) -> JResult<T>
       where T: JTypeInfo<'l>,
             JValueGen<JObject<'l>>: IntoRustType<'l, T>;
}

Required Methods§

Source

fn call_getter<T>(&self, name: &str, env: &mut JNIEnv<'l>) -> JResult<T>
where T: JTypeInfo<'l>, JValueGen<JObject<'l>>: IntoRustType<'l, T>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'local> JObjectGetters<'local> for JObject<'local>