(self, ctx: &Ctx<'js>)
| 22 | Text(String), |
| 23 | File(Value<'js>), |
| 24 | } |
| 25 | |
| 26 | impl<'js> IntoJs<'js> for FormValue<'js> { |
| 27 | fn into_js(self, ctx: &Ctx<'js>) -> Result<Value<'js>> { |
| 28 | match self { |
| 29 | FormValue::Text(s) => s.into_js(ctx), |
| 30 | FormValue::File(f) => f.into_js(ctx), |
| 31 | } |
| 32 | } |
| 33 | } |
no outgoing calls