See Gtk.Builder
Or take a look at simple Rust applications, eg Authenticator or Decoder on Gnome Gitlab.