Skip to main content

from_button

Function from_button 

Source
pub fn from_button<Message>(
    toggle: Message,
    gone: Message,
) -> impl Stream<Item = Message>
where Message: Clone + Send + 'static,
Expand description

What the button says to the window, as the window hears it: each toggle, and that the button is gone when its end of the line closes.