button

Function button 

Source
pub const fn button<Label>(label: Label) -> Button<Label, ()>
Expand description

Convenience function to create a new button with the specified label.

§Arguments

  • label - The text or view to display on the button

§Returns

A new button instance