pub struct UndoHistorySelectionSet {
pub selections: Vec<Selection>,
pub primary_index: usize,
}Expand description
Persisted selection set state captured alongside undo/redo steps.
Fields§
§selections: Vec<Selection>All selections (primary + secondary); may include empty selections (carets).
primary_index: usizeIndex of the primary selection in selections.
Trait Implementations§
Source§impl Clone for UndoHistorySelectionSet
impl Clone for UndoHistorySelectionSet
Source§impl Debug for UndoHistorySelectionSet
impl Debug for UndoHistorySelectionSet
impl Eq for UndoHistorySelectionSet
Source§impl PartialEq for UndoHistorySelectionSet
impl PartialEq for UndoHistorySelectionSet
impl StructuralPartialEq for UndoHistorySelectionSet
Auto Trait Implementations§
impl Forget for UndoHistorySelectionSet
impl Freeze for UndoHistorySelectionSet
impl Move for UndoHistorySelectionSet
impl RefUnwindSafe for UndoHistorySelectionSet
impl Send for UndoHistorySelectionSetwhere
RawVecInner: Send,
impl Sync for UndoHistorySelectionSetwhere
RawVecInner: Sync,
impl Unpin for UndoHistorySelectionSet
impl UnsafeUnpin for UndoHistorySelectionSet
impl UnwindSafe for UndoHistorySelectionSetwhere
RawVecInner: UnwindSafe,
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