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
Insertion(T::Uid)
Deletion(T::Uid)
Update(T::Uid, T::Mutation)
Trait Implementations
sourceimpl<T: Clone + Mutable + SoftEq> Clone for VecMutation<T>where
T::Uid: Clone,
T::Uid: Clone,
T::Uid: Clone,
T::Mutation: Clone,
impl<T: Clone + Mutable + SoftEq> Clone for VecMutation<T>where
T::Uid: Clone,
T::Uid: Clone,
T::Uid: Clone,
T::Mutation: Clone,
sourcefn clone(&self) -> VecMutation<T>
fn clone(&self) -> VecMutation<T>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T: Debug + Mutable + SoftEq> Debug for VecMutation<T>where
T::Uid: Debug,
T::Uid: Debug,
T::Uid: Debug,
T::Mutation: Debug,
impl<T: Debug + Mutable + SoftEq> Debug for VecMutation<T>where
T::Uid: Debug,
T::Uid: Debug,
T::Uid: Debug,
T::Mutation: Debug,
sourceimpl<T: PartialEq + Mutable + SoftEq> PartialEq<VecMutation<T>> for VecMutation<T>where
T::Uid: PartialEq,
T::Uid: PartialEq,
T::Uid: PartialEq,
T::Mutation: PartialEq,
impl<T: PartialEq + Mutable + SoftEq> PartialEq<VecMutation<T>> for VecMutation<T>where
T::Uid: PartialEq,
T::Uid: PartialEq,
T::Uid: PartialEq,
T::Mutation: PartialEq,
sourcefn eq(&self, other: &VecMutation<T>) -> bool
fn eq(&self, other: &VecMutation<T>) -> bool
impl<T: Mutable + SoftEq> StructuralPartialEq for VecMutation<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for VecMutation<T>where
<T as Mutable>::Mutation: RefUnwindSafe,
<T as SoftEq>::Uid: RefUnwindSafe,
impl<T> Send for VecMutation<T>where
<T as Mutable>::Mutation: Send,
<T as SoftEq>::Uid: Send,
impl<T> Sync for VecMutation<T>where
<T as Mutable>::Mutation: Sync,
<T as SoftEq>::Uid: Sync,
impl<T> Unpin for VecMutation<T>where
<T as Mutable>::Mutation: Unpin,
<T as SoftEq>::Uid: Unpin,
impl<T> UnwindSafe for VecMutation<T>where
<T as Mutable>::Mutation: UnwindSafe,
<T as SoftEq>::Uid: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more