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

Method on_toggle_collection_node_expand

src/components/app_sidebar.rs:201–207  ·  view source on GitHub ↗
(
        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

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected