(self)
| 82 | |
| 83 | impl JsProperty { |
| 84 | fn into_js_value(self) -> JsValue { |
| 85 | match self { |
| 86 | JsProperty::Str(s) => s.expect_str().into(), |
| 87 | JsProperty::Js(value) => value.value.clone(), |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | #[pyclass(with(Representable))] |
no test coverage detected