(value: JsValue)
| 23 | |
| 24 | impl From<JsValue> for SelectedDetail { |
| 25 | fn from(value: JsValue) -> Self { |
| 26 | // let detail = value.unchecked_into::<SelectedDetailJS>(); |
| 27 | // let index = ListIndex::from(detail.index()); |
| 28 | |
| 29 | // let diff = if detail.diff().is_undefined() { |
| 30 | // None |
| 31 | // } else { |
| 32 | // let diff = detail.diff(); |
| 33 | // Some(IndexDiff { |
| 34 | // added: diff.added(), |
| 35 | // removed: diff.removed(), |
| 36 | // }) |
| 37 | // }; |
| 38 | // Self { index, diff } |
| 39 | unimplemented!() |
| 40 | } |
| 41 | } |
| 42 |
nothing calls this directly
no outgoing calls
no test coverage detected