Skip to main content

init_auto_discover

Function init_auto_discover 

Source
pub fn init_auto_discover<R: Runtime>() -> TauriPlugin<R>
Expand description

Initialize the Victauri plugin with auto-discovery of all #[inspectable] commands.

Equivalent to VictauriBuilder::new().auto_discover().build() — all commands marked with #[inspectable] are registered automatically without manual listing.

§Panics

Panics if the default builder configuration is invalid (this is a bug).