pub struct SelectionEditPlan {
pub ops: Vec<EditOp>,
pub selections_before: Vec<Selection>,
pub selections_after: Vec<Selection>,
}Expand description
A planned selection edit against one immutable pre-edit buffer state.
Fields§
§ops: Vec<EditOp>Atomic edit ops to apply, ordered from highest byte offset to lowest.
selections_before: Vec<Selection>Selection set before the edit.
selections_after: Vec<Selection>Selection set after the whole edit group.
Auto Trait Implementations§
impl Freeze for SelectionEditPlan
impl RefUnwindSafe for SelectionEditPlan
impl Send for SelectionEditPlan
impl Sync for SelectionEditPlan
impl Unpin for SelectionEditPlan
impl UnsafeUnpin for SelectionEditPlan
impl UnwindSafe for SelectionEditPlan
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