pub struct VisualSelectionEditPlan {
pub delete_ranges: Vec<(Pos, Pos)>,
pub text: String,
pub mode: VisualModeKind,
}Expand description
A precomputed plan for visual selection operations.
This bundles mode-aware text capture and deletion bounds so callers can perform yank/delete flows without duplicating selection maths.
Fields§
§delete_ranges: Vec<(Pos, Pos)>§text: String§mode: VisualModeKindTrait Implementations§
Source§impl Clone for VisualSelectionEditPlan
impl Clone for VisualSelectionEditPlan
Source§fn clone(&self) -> VisualSelectionEditPlan
fn clone(&self) -> VisualSelectionEditPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VisualSelectionEditPlan
impl Debug for VisualSelectionEditPlan
Source§impl PartialEq for VisualSelectionEditPlan
impl PartialEq for VisualSelectionEditPlan
impl Eq for VisualSelectionEditPlan
impl StructuralPartialEq for VisualSelectionEditPlan
Auto Trait Implementations§
impl Freeze for VisualSelectionEditPlan
impl RefUnwindSafe for VisualSelectionEditPlan
impl Send for VisualSelectionEditPlan
impl Sync for VisualSelectionEditPlan
impl Unpin for VisualSelectionEditPlan
impl UnsafeUnpin for VisualSelectionEditPlan
impl UnwindSafe for VisualSelectionEditPlan
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