Enum modalkit::prelude::SelectionCursorChange
source · pub enum SelectionCursorChange {
Beginning,
End,
SwapAnchor(bool),
}
Expand description
Place the cursor at a specified position in a visual selection, with the anchor now at the opposite end.
Variants§
Beginning
Place the cursor in the first line of the selection, in the first column of the selection.
End
Place the cursor in the last line of the selection, in the last column of the selection.
SwapAnchor(bool)
Trait Implementations§
source§impl Clone for SelectionCursorChange
impl Clone for SelectionCursorChange
source§fn clone(&self) -> SelectionCursorChange
fn clone(&self) -> SelectionCursorChange
Returns a copy 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 SelectionCursorChange
impl Debug for SelectionCursorChange
source§impl PartialEq for SelectionCursorChange
impl PartialEq for SelectionCursorChange
impl Eq for SelectionCursorChange
impl StructuralPartialEq for SelectionCursorChange
Auto Trait Implementations§
impl Freeze for SelectionCursorChange
impl RefUnwindSafe for SelectionCursorChange
impl Send for SelectionCursorChange
impl Sync for SelectionCursorChange
impl Unpin for SelectionCursorChange
impl UnwindSafe for SelectionCursorChange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)