pub trait IntoJava<'j> {
type Ret;
// Required method
fn into_java(self, _: &mut JNIEnv<'j>) -> Result<Self::Ret, Error>;
}
Expand description
Specifies how a Rust type should be converted into a Java primitive.
pub trait IntoJava<'j> {
type Ret;
// Required method
fn into_java(self, _: &mut JNIEnv<'j>) -> Result<Self::Ret, Error>;
}
Specifies how a Rust type should be converted into a Java primitive.