pub trait JsApi<'a> {
// Required method
fn from_script(script: &'a mut Script) -> Self
where Self: Sized;
}
Required Methods§
Sourcefn from_script(script: &'a mut Script) -> Selfwhere
Self: Sized,
fn from_script(script: &'a mut Script) -> Selfwhere
Self: Sized,
Generate an API from a script