pub trait ToReturn: Sized {
// Required method
fn to_return(self) -> VmResult<Value>;
}
Expand description
Trait governing things that can be returned from native functions.
Required 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.