pub enum StateMutationOrigin {
Set,
SetCommitted,
Remove,
ClearPrefix,
Commit,
}Expand description
Where a state mutation came from.
Variants§
Set
Regular State::set or prefixed state write.
SetCommitted
Direct committed-store write that bypasses delta tracking.
Remove
Removal of a single key.
ClearPrefix
Removal caused by clearing a prefix.
Commit
Delta changes committed into the base state.
Trait Implementations§
Source§impl Clone for StateMutationOrigin
impl Clone for StateMutationOrigin
Source§fn clone(&self) -> StateMutationOrigin
fn clone(&self) -> StateMutationOrigin
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 StateMutationOrigin
impl Debug for StateMutationOrigin
Source§impl PartialEq for StateMutationOrigin
impl PartialEq for StateMutationOrigin
impl Copy for StateMutationOrigin
impl Eq for StateMutationOrigin
impl StructuralPartialEq for StateMutationOrigin
Auto Trait Implementations§
impl Freeze for StateMutationOrigin
impl RefUnwindSafe for StateMutationOrigin
impl Send for StateMutationOrigin
impl Sync for StateMutationOrigin
impl Unpin for StateMutationOrigin
impl UnwindSafe for StateMutationOrigin
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more