increment() . set_label( & format! ( "Incremented to {}" , val)) ; label_cloneset_label(val)) } ) ; } let dec_btn = Button:: new_with_label( "Decrement" ) ; dec_btnnew_with_label( { let label_clone = label . clone() ; label_clonelabelclone() let counter_clone = counter . clone() ; counter_clonecounterclone() . connect_clicked( move | _ | { dec_btnconnect_clicked( let val = counter