Enum mutable::default_impl::VecMutation
source · pub enum VecMutation<T: Mutable + SoftEq> {
Insertion(T::Uid),
Deletion(T::Uid),
Update(T::Uid, T::Mutation),
}Expand description
Mutations of a Vec
Variants§
Trait Implementations§
source§impl<T: Clone + Mutable + SoftEq> Clone for VecMutation<T>where
T::Uid: Clone,
T::Mutation: Clone,
impl<T: Clone + Mutable + SoftEq> Clone for VecMutation<T>where T::Uid: Clone, T::Mutation: Clone,
source§fn clone(&self) -> VecMutation<T>
fn clone(&self) -> VecMutation<T>
Returns a copy 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<T: Debug + Mutable + SoftEq> Debug for VecMutation<T>where
T::Uid: Debug,
T::Mutation: Debug,
impl<T: Debug + Mutable + SoftEq> Debug for VecMutation<T>where T::Uid: Debug, T::Mutation: Debug,
source§impl<T: PartialEq + Mutable + SoftEq> PartialEq<VecMutation<T>> for VecMutation<T>where
T::Uid: PartialEq,
T::Mutation: PartialEq,
impl<T: PartialEq + Mutable + SoftEq> PartialEq<VecMutation<T>> for VecMutation<T>where T::Uid: PartialEq, T::Mutation: PartialEq,
source§fn eq(&self, other: &VecMutation<T>) -> bool
fn eq(&self, other: &VecMutation<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.