zng_ext_undo

Trait WidgetInfoUndoExt

source
pub trait WidgetInfoUndoExt {
    // Required methods
    fn is_undo_scope(&self) -> bool;
    fn undo_scope(&self) -> Option<WidgetInfo>;
}
Expand description

Undo extension methods for widget info.

Required Methods§

source

fn is_undo_scope(&self) -> bool

Returns true if the widget is an undo scope.

source

fn undo_scope(&self) -> Option<WidgetInfo>

Gets the first ancestor that is an undo scope.

Implementations on Foreign Types§

source§

impl WidgetInfoUndoExt for WidgetInfo

Implementors§