Trait rquickjs_core::function::IntoInput
source · pub trait IntoInput<'js> {
// Required methods
fn num_args(&self) -> usize;
fn into_input(self, input: &mut CallInput<'js>) -> Result<()>;
}
Expand description
A helper trait to prepare inputs for function calls
Required Methods§
sourcefn into_input(self, input: &mut CallInput<'js>) -> Result<()>
fn into_input(self, input: &mut CallInput<'js>) -> Result<()>
Put the value into inputs