Skip to main content

WidgetInfoSettingExt

Trait WidgetInfoSettingExt 

Source
pub trait WidgetInfoSettingExt {
    // Required method
    fn setting_key(&self) -> Option<ConfigKey>;
}
Expand description

Extends WidgetInfo to provide the setting config key for setting widgets.

Required Methods§

Source

fn setting_key(&self) -> Option<ConfigKey>

Gets the setting config key, if this widget represents a setting item.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WidgetInfoSettingExt for WidgetInfo

Implementors§