pub enum PatchSide {
Undoable,
Redoable,
}Expand description
Which slots of a Patch to release, see Patch::release.
Variants§
Undoable
The patch sits on an undo stack: release the slots it removed.
Redoable
The patch was undone and sits on a redo stack: release the slots it created.
Trait Implementations§
impl Copy for PatchSide
impl Eq for PatchSide
impl StructuralPartialEq for PatchSide
Auto Trait Implementations§
impl Freeze for PatchSide
impl RefUnwindSafe for PatchSide
impl Send for PatchSide
impl Sync for PatchSide
impl Unpin for PatchSide
impl UnsafeUnpin for PatchSide
impl UnwindSafe for PatchSide
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