Skip to main content

ParseJObjectType

Trait ParseJObjectType 

Source
pub trait ParseJObjectType<T: FromStr> {
    // Required method
    fn parse(&self, env: &mut JNIEnv<'_>) -> Result<T>
       where <T as FromStr>::Err: Debug;
}
Expand description

解析JObject类型。

Required Methods§

Source

fn parse(&self, env: &mut JNIEnv<'_>) -> Result<T>
where <T as FromStr>::Err: Debug,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§