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

Method with_id

perro_source/core/perro_ui/src/tree.rs:38–41  ·  view source on GitHub ↗
(mut self, id: impl Into<Cow<'static, str>>)

Source from the content-addressed store, hash-verified

36 }
37
38 pub fn with_id(mut self, id: impl Into<Cow<'static, str>>) -> Self {
39 self.id = id.into();
40 self
41 }
42
43 pub fn with_value(mut self, value: perro_variant::Variant) -> Self {
44 self.value = value;

Callers 3

set_scene_tree_listFunction · 0.80
set_file_tree_listFunction · 0.80
as_tree_list_itemsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected