Skip to main content

optional_emitter_controls

Macro optional_emitter_controls 

macro_rules! optional_emitter_controls {
    () => { ... };
    (custody) => { ... };
}
Expand description

The custody, drain and availability ActionControls methods of a widget whose only producer is its optional self.action emitter. Pass custody to leave availability to a widget that refreshes it itself.