Trait robusta_jni::convert::Signature
source · pub trait Signature {
const SIG_TYPE: &'static str;
}
Expand description
This trait provides type signatures for types. It is necessary to support conversions to/from Java types.
While you can implement this trait manually, you should probably use the derive macro.
The derive macro requires a #[package()]
attribute on implementing structs (most likely you already have that).
Required Associated Constants§
sourceconst SIG_TYPE: &'static str
const SIG_TYPE: &'static str
Java type signature for the implementing type.
Object Safety§
This trait is not object safe.