pub fn new<N: ToString, S: ToString>(name: N, text: S) -> UiButtonBuilder {
        let mut builder = UiButtonBuilder::default();
        builder.name = name.to_string();
        builder.text = text.to_string();
        builder
    }
/// Construct a new UiButtonBuilder.
/// This allows easy use of default values for text and button appearance and allows the user
/// to easily set other UI-related options.
Construct a new UiButtonBuilder.
This allows easy use of default values for text and button appearance and allows the user
to easily set other UI-related options.
Construct a new UiButtonBuilder . This allows easy use of default values for text and button appearance and allows the user to easily set other UI - related options .
pub fn new<N: ToString, S: ToString>(name: N, text: S) -> UiButtonBuilder {
        let mut builder = UiButtonBuilder::default();
        builder.name = name.to_string();
        builder.text = text.to_string();
        builder
    }
pub fn new < N : ToString , S : ToString > ( name : N , text : S ) -> UiButtonBuilder { let mut builder = UiButtonBuilder :: default ( ) ; builder . name = name . to_string ( ) ; builder . text = text . to_string ( ) ; builder }
Construct a new UiButtonBuilder.
Construct a new UiButtonBuilder .
name
N
text
S
name
N
text
S