[][src]Enum undo::Signal

pub enum Signal {
    Undo(bool),
    Redo(bool),
    Saved(bool),
}

The signal used for communicating state changes.

For example, if the record can no longer redo any commands, it sends a Redo(false) signal to tell the user.

Variants

Undo(bool)

Says if the record can undo.

Redo(bool)

Says if the record can redo.

Saved(bool)

Says if the target is in a saved state.

Trait Implementations

impl Clone for Signal[src]

impl Copy for Signal[src]

impl Debug for Signal[src]

impl Eq for Signal[src]

impl Hash for Signal[src]

impl Ord for Signal[src]

impl PartialEq<Signal> for Signal[src]

impl PartialOrd<Signal> for Signal[src]

impl StructuralEq for Signal[src]

impl StructuralPartialEq for Signal[src]

Auto Trait Implementations

impl RefUnwindSafe for Signal

impl Send for Signal

impl Sync for Signal

impl Unpin for Signal

impl UnwindSafe for Signal

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.