pub struct UndoPlan {
pub action: UndoHistoryAction,
pub steps_requested: usize,
pub batches: Vec<OpBatch>,
}Expand description
Result of selecting batches for a multi-step undo/redo plan.
Pure relative to apply: holds the scoped batches that would be rewound or replayed. Callers run safety preflights and the apply engine separately.
Fields§
§action: UndoHistoryAction§steps_requested: usize§batches: Vec<OpBatch>Implementations§
Source§impl UndoPlan
impl UndoPlan
pub fn batch_summaries(&self) -> Vec<UndoBatchSummary>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UndoPlan
impl RefUnwindSafe for UndoPlan
impl Send for UndoPlan
impl Sync for UndoPlan
impl Unpin for UndoPlan
impl UnsafeUnpin for UndoPlan
impl UnwindSafe for UndoPlan
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