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

Class ProtocolSelector

src/components/protocol_selector.rs:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32pub type OnProtocolChange = Rc<dyn Fn(ProtocolType, &mut Window, &mut App) + 'static>;
33
34#[derive(IntoElement)]
35pub struct ProtocolSelector {
36 selected: ProtocolType,
37 on_change: Option<OnProtocolChange>,
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected