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

Method new

src/components/tab_bar.rs:21–29  ·  view source on GitHub ↗
(id: usize, index: usize, name: impl Into<SharedString>, method: HttpMethod)

Source from the content-addressed store, hash-verified

19 pub id: usize,
20 pub index: usize,
21 pub name: SharedString,
22 pub icon: TabIcon,
23 pub is_active: bool,
24}
25
26impl TabInfo {
27 pub fn new(id: usize, index: usize, name: impl Into<SharedString>, icon: TabIcon) -> Self {
28 Self {
29 id,
30 index,
31 name: name.into(),
32 icon,

Callers

nothing calls this directly

Calls 1

method_colorFunction · 0.85

Tested by

no test coverage detected