Skip to main content

MnemonicWidgetInfoExt

Trait MnemonicWidgetInfoExt 

Source
pub trait MnemonicWidgetInfoExt {
    // Required methods
    fn is_mnemonic_scope(&self) -> bool;
    fn mnemonic(&self) -> Option<&Var<Mnemonic>>;
    fn mnemonic_txt(&self) -> Option<&Var<Txt>>;
}
Expand description

Extension methods for widget info about mnemonic metadata.

Required Methods§

Source

fn is_mnemonic_scope(&self) -> bool

If mnemonic_scope is enabled in the widget.

Source

fn mnemonic(&self) -> Option<&Var<Mnemonic>>

Reference the mnemonic set on this widget.

Source

fn mnemonic_txt(&self) -> Option<&Var<Txt>>

Reference the mnemonic_txt set on this widget.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl MnemonicWidgetInfoExt for WidgetInfo

Implementors§