pub enum ExpandSelectionDirection {
Backward,
Forward,
}Expand description
Selection expansion direction for CursorCommand::ExpandSelectionBy.
Variants§
Backward
Expand towards the beginning of the document.
Forward
Expand towards the end of the document.
Trait Implementations§
Source§impl Clone for ExpandSelectionDirection
impl Clone for ExpandSelectionDirection
Source§fn clone(&self) -> ExpandSelectionDirection
fn clone(&self) -> ExpandSelectionDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpandSelectionDirection
Source§impl Debug for ExpandSelectionDirection
impl Debug for ExpandSelectionDirection
impl Eq for ExpandSelectionDirection
Source§impl PartialEq for ExpandSelectionDirection
impl PartialEq for ExpandSelectionDirection
Source§fn eq(&self, other: &ExpandSelectionDirection) -> bool
fn eq(&self, other: &ExpandSelectionDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpandSelectionDirection
Auto Trait Implementations§
impl Freeze for ExpandSelectionDirection
impl RefUnwindSafe for ExpandSelectionDirection
impl Send for ExpandSelectionDirection
impl Sync for ExpandSelectionDirection
impl Unpin for ExpandSelectionDirection
impl UnsafeUnpin for ExpandSelectionDirection
impl UnwindSafe for ExpandSelectionDirection
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