MCPcopy Create free account
hub / github.com/JayanAXHF/modder-rs / ToggleComponent

Class ToggleComponent

tui/src/components/toggle.rs:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20#[derive(Default)]
21pub struct ToggleComponent {
22 command_tx: Option<UnboundedSender<Action>>,
23 config: Config,
24 list: ToggleList,
25 mode: Mode,
26 enabled: bool,
27 state: State,
28 input: Input,
29 throbber_state: throbber_widgets_tui::ThrobberState,
30 dir: PathBuf,
31}
32
33#[derive(Debug, Clone, Default)]
34struct ToggleList {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected