Enum evmap::Operation
[−]
[src]
pub enum Operation<K, V> { Replace(K, V), Add(K, V), Remove(K, V), Empty(K), Clear(K), }
A pending map operation.
Variants
Replace(K, V)
Replace the set of entries for this key with this value.
Add(K, V)
Add this value to the set of entries for this key.
Remove(K, V)
Remove this value from the set of entries for this key.
Empty(K)
Remove the value set for this key.
Clear(K)
Remove all values in the value set for this key.
Trait Implementations
impl<K: Clone, V: Clone> Clone for Operation<K, V>
[src]
fn clone(&self) -> Operation<K, V>
[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<K: PartialEq, V: PartialEq> PartialEq for Operation<K, V>
[src]
fn eq(&self, __arg_0: &Operation<K, V>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Operation<K, V>) -> bool
[src]
This method tests for !=
.