Enum changes::Ops[][src]

pub enum Ops {
    Done,
    Noop((u32, u32)),
    Move((u32, u32)),
    Delete(u32),
    Replace((u32, u32)),
}

Representation of two differences between two states.

Variants

All instructions have been executed, ignore the rest of the array.

The element from array A at the first index is equivalent to the element from array B at the second index.

Move the element from array A at the first index into array B before the second index.

Delete the element from array B at index.

Replace the element from array B at the second index with the element from array A at the first index.

Trait Implementations

impl Debug for Ops
[src]

Formats the value using the given formatter. Read more

impl Clone for Ops
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Ops

impl Sync for Ops