You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: image_decoder_d.rs
    path of file: ./repos/native-windows-gui/native-windows-gui/examples
    
    the code of the file until where you have to start completion: /*!
    A application that uses the `image-decoder` feature to load resources and display them.

    Requires the following features: `cargo run --example i
    
fn main() {
    nwg::init().expect("Failed to init Native Windows GUI");
    nwg::Font::set_global_family("Segoe UI").expect("Failed to set default font");

    let _app = ImageDecoderApp::build_ui(Default::default()).expect("Failed to build UI");

    nwg::dispatch_thread_events();
}