There are two WindowBuilders exported: tauri::window::WindowBuilder and tauri::WindowBuilder. One is a Struct, the other a Trait. Took me longer than I want to admit that I had imported the Trait, not the Struct, which was why everything went wrong.
I think the best solution is to rename one of both.
There are two
WindowBuilders exported:tauri::window::WindowBuilderandtauri::WindowBuilder. One is a Struct, the other a Trait. Took me longer than I want to admit that I had imported the Trait, not the Struct, which was why everything went wrong.I think the best solution is to rename one of both.