pub trait ToValues {
// Required method
fn to_values(self, mv8: &MiniV8) -> Result<Values>;
}
Expand description
Trait for types convertible to any number of JavaScript values.
This is a generalization of ToValue
, allowing any number of resulting JavaScript values
instead of just one. Any type that implements ToValue
will automatically implement this trait.