pub trait Reflect {
// Required methods
fn input() -> CastInfo;
fn output() -> CastInfo;
fn castable(value: &Value) -> bool;
// Provided method
fn error(found: &Value) -> EcoString { ... }
}
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.