pub enum UndoKind {
Insert,
Delete,
Replace,
}Expand description
What kind of delta one entry encodes.
Variants§
Insert
inserted non-empty, removed empty.
Delete
removed non-empty, inserted empty.
Replace
Both non-empty.
Trait Implementations§
impl Copy for UndoKind
impl Eq for UndoKind
impl StructuralPartialEq for UndoKind
Auto Trait Implementations§
impl Freeze for UndoKind
impl RefUnwindSafe for UndoKind
impl Send for UndoKind
impl Sync for UndoKind
impl Unpin for UndoKind
impl UnsafeUnpin for UndoKind
impl UnwindSafe for UndoKind
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<T> DynEq for T
impl<T> DynEq for T
§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<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.