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§
sourcefn is_undo_scope(&self) -> bool
fn is_undo_scope(&self) -> bool
Returns true
if the widget is an undo scope.
sourcefn undo_scope(&self) -> Option<WidgetInfo>
fn undo_scope(&self) -> Option<WidgetInfo>
Gets the first ancestor that is an undo scope.