(&mut self, from: usize, to: usize, cx: &mut Context<Self>)
| 78 | self.rows |
| 79 | .iter() |
| 80 | .map(|row| BulkKvEntry { |
| 81 | key: row.key_input.read(cx).text().to_string(), |
| 82 | value: row.value_input.read(cx).text().to_string(), |
| 83 | enabled: row.enabled, |
| 84 | }) |
| 85 | .collect() |
| 86 | } |
| 87 | |
| 88 | fn replace_from_bulk_entries( |
| 89 | &mut self, |
| 90 | entries: Vec<BulkKvEntry>, |