Skip to main content

set_undoable

Function set_undoable 

Source
pub fn set_undoable<T: Clone + PartialEq + 'static>(
    title: &str,
    signal: &Signal<T>,
    value: T,
)
Expand description

Sets signal to value as an undoable change named title (see undoable). Nothing is recorded if the value is unchanged.