Skip to main content

WidgetExt

Trait WidgetExt 

Source
pub trait WidgetExt<R: Runtime> {
    // Required method
    fn widget(&self) -> &Widget<R>;
}
Expand description

Extension trait for convenient access from any Tauri manager.

Required Methods§

Source

fn widget(&self) -> &Widget<R>

Returns the managed Widget state.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> WidgetExt<R> for T