Enum redo::Merge[][src]

pub enum Merge<C> {
    Yes,
    No(C),
    Annul,
}

The result of merging two commands.

Variants

The commands have been merged.

The commands have not been merged.

The two commands cancels each other out. This removes both commands.

Trait Implementations

impl<C: Copy> Copy for Merge<C>
[src]

impl<C: Clone> Clone for Merge<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug> Debug for Merge<C>
[src]

Formats the value using the given formatter. Read more

impl<C: Hash> Hash for Merge<C>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<C: Ord> Ord for Merge<C>
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<C: PartialOrd> PartialOrd for Merge<C>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<C: Eq> Eq for Merge<C>
[src]

impl<C: PartialEq> PartialEq for Merge<C>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<C> Send for Merge<C> where
    C: Send

impl<C> Sync for Merge<C> where
    C: Sync