pub enum WholeEntity {
Created,
Resent,
}Expand description
Why a marked mutation’s patch is the whole entity.
Variants§
Created
The entity’s first mutation since its source created it: everything it has is new, so the patch is a change like any other and all of the entity at once.
Resent
The entity again, right after a mutation that carried the change: state to restore, not a change of its own.
Trait Implementations§
Source§impl Clone for WholeEntity
impl Clone for WholeEntity
impl Copy for WholeEntity
Source§impl Debug for WholeEntity
impl Debug for WholeEntity
impl Eq for WholeEntity
Source§impl PartialEq for WholeEntity
impl PartialEq for WholeEntity
impl StructuralPartialEq for WholeEntity
Auto Trait Implementations§
impl Freeze for WholeEntity
impl RefUnwindSafe for WholeEntity
impl Send for WholeEntity
impl Sync for WholeEntity
impl Unpin for WholeEntity
impl UnsafeUnpin for WholeEntity
impl UnwindSafe for WholeEntity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.