Enum gray_codes::SetMutation
[−]
[src]
pub enum SetMutation { Insert(usize), Remove(usize), }
Set mutation operations.
See the InclusionExclusion
struct.
Variants
Insert(usize)
Add the item with the given index to the set.
Remove(usize)
Remove the item with the given index from the set.
Trait Implementations
impl Clone for SetMutation
[src]
fn clone(&self) -> SetMutation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for SetMutation
[src]
impl Debug for SetMutation
[src]
impl Eq for SetMutation
[src]
impl PartialEq for SetMutation
[src]
fn eq(&self, __arg_0: &SetMutation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SetMutation) -> bool
[src]
This method tests for !=
.