Enum gray_codes::SetMutation [] [src]

pub enum SetMutation {
    Insert(usize),
    Remove(usize),
}

Set mutation operations.

See the InclusionExclusion struct.

Variants

Add the item with the given index to the set.

Remove the item with the given index from the set.

Trait Implementations

impl Clone for SetMutation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SetMutation
[src]

impl Debug for SetMutation
[src]

[src]

Formats the value using the given formatter.

impl Eq for SetMutation
[src]

impl PartialEq for SetMutation
[src]

[src]

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

[src]

This method tests for !=.