pub trait Java: Sized {
// Required methods
fn desc() -> String;
fn to_value(&self) -> Value;
fn from_value(v: Value) -> Option<Self>;
}Expand description
A Java type a nanite’s member takes or gives.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".