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

Method new

src/components/panel_tab.rs:17–23  ·  view source on GitHub ↗
(label: &'static str)

Source from the content-addressed store, hash-verified

15}
16
17impl PanelTab {
18 pub fn new(label: &'static str) -> Self {
19 Self {
20 label,
21 is_active: false,
22 activation_progress: 1.0,
23 on_click: None,
24 }
25 }
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected