MCPcopy Create free account
hub / github.com/PerroEngine/Perro / clear_items

Method clear_items

perro_source/core/perro_ui/src/tree.rs:152–155  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

150 }
151
152 pub fn clear_items(&mut self) {
153 self.items.clear();
154 self.selected_index = None;
155 }
156
157 pub fn push_root(&mut self, item: UiTreeListItem) -> usize {
158 self.push_item(None, item)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected