pub enum ExpandSelectionUnit {
Character,
Word,
Line,
}Expand description
Selection expansion unit for CursorCommand::ExpandSelectionBy.
Variants§
Character
Expand by Unicode scalar values (Rust char indices).
Word
Expand by “word” units (configured word boundary rules).
Line
Expand by logical lines.
Trait Implementations§
Source§impl Clone for ExpandSelectionUnit
impl Clone for ExpandSelectionUnit
impl Copy for ExpandSelectionUnit
Source§impl Debug for ExpandSelectionUnit
impl Debug for ExpandSelectionUnit
impl Eq for ExpandSelectionUnit
Source§impl PartialEq for ExpandSelectionUnit
impl PartialEq for ExpandSelectionUnit
impl StructuralPartialEq for ExpandSelectionUnit
Auto Trait Implementations§
impl Forget for ExpandSelectionUnit
impl Freeze for ExpandSelectionUnit
impl Move for ExpandSelectionUnit
impl RefUnwindSafe for ExpandSelectionUnit
impl Send for ExpandSelectionUnit
impl Sync for ExpandSelectionUnit
impl Unpin for ExpandSelectionUnit
impl UnsafeUnpin for ExpandSelectionUnit
impl UnwindSafe for ExpandSelectionUnit
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