Method
on_toggle_collection_node_expand
(
mut self,
f: impl Fn(Uuid, Uuid, &mut Window, &mut App) + 'static,
)
Source from the content-addressed store, hash-verified
| 199 | f: impl Fn(Uuid, Option<Uuid>, &mut Window, &mut App) + 'static, |
| 200 | ) -> Self { |
| 201 | self.on_new_folder = Some(Rc::new(f)); |
| 202 | self |
| 203 | } |
| 204 | |
| 205 | pub fn on_move_collection_node( |
| 206 | mut self, |
| 207 | f: impl Fn(Uuid, Uuid, &mut Window, &mut App) + 'static, |
| 208 | ) -> Self { |
| 209 | self.on_move_collection_node = Some(Rc::new(f)); |
| 210 | self |
Tested by
no test coverage detected