pub enum SetMutation {
Insert(usize),
Remove(usize),
}Expand description
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§
Source§impl Clone for SetMutation
impl Clone for SetMutation
Source§fn clone(&self) -> SetMutation
fn clone(&self) -> SetMutation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetMutation
impl Debug for SetMutation
Source§impl PartialEq for SetMutation
impl PartialEq for SetMutation
impl Copy for SetMutation
impl Eq for SetMutation
impl StructuralPartialEq for SetMutation
Auto Trait Implementations§
impl Freeze for SetMutation
impl RefUnwindSafe for SetMutation
impl Send for SetMutation
impl Sync for SetMutation
impl Unpin for SetMutation
impl UnwindSafe for SetMutation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more