pub struct UndoEntry {
pub applied: Edit,
pub reverse: Edit,
}Expand description
One atomic edit (the thing Undo reverses) + the reverse edit to apply.
Fields§
§applied: Edit§reverse: EditTrait Implementations§
impl Eq for UndoEntry
impl StructuralPartialEq for UndoEntry
Auto Trait Implementations§
impl Freeze for UndoEntry
impl RefUnwindSafe for UndoEntry
impl Send for UndoEntry
impl Sync for UndoEntry
impl Unpin for UndoEntry
impl UnsafeUnpin for UndoEntry
impl UnwindSafe for UndoEntry
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