pub trait IntoValue<'rt> {
// Required method
fn into_value(self, rt: &mut RuntimeHandle<'rt>) -> JsiValue<'rt>;
}
Expand description
Conversion trait to and from JsiValue
. This is needed instead of the
normal Into
trait b/c creating a JsiValue requires a RuntimeHandle
.