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.

Implementations on Foreign Types§

Source§

impl MnemonicWidgetInfoExt for WidgetInfo

Implementors§