MCPcopy Create free account
hub / github.com/bajrangCoder/setu / move_row

Method move_row

src/components/form_data_editor.rs:80–87  ·  view source on GitHub ↗
(&mut self, from: usize, to: usize, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

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>,

Callers 1

renderMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected