pub enum SelectionKind {
Caret,
LineWise,
BlockWise,
}Expand description
The flavor of a selection.
Variants§
Caret
A caret with no extent (anchor == head).
LineWise
A line-wise selection (extends to whole lines).
BlockWise
A block / column selection.
Trait Implementations§
Source§impl Clone for SelectionKind
impl Clone for SelectionKind
impl Copy for SelectionKind
Source§impl Debug for SelectionKind
impl Debug for SelectionKind
Source§impl<'de> Deserialize<'de> for SelectionKind
impl<'de> Deserialize<'de> for SelectionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SelectionKind
Source§impl Hash for SelectionKind
impl Hash for SelectionKind
Source§impl PartialEq for SelectionKind
impl PartialEq for SelectionKind
Source§impl Serialize for SelectionKind
impl Serialize for SelectionKind
impl StructuralPartialEq for SelectionKind
Auto Trait Implementations§
impl Forget for SelectionKind
impl Freeze for SelectionKind
impl Move for SelectionKind
impl RefUnwindSafe for SelectionKind
impl Send for SelectionKind
impl Sync for SelectionKind
impl Unpin for SelectionKind
impl UnsafeUnpin for SelectionKind
impl UnwindSafe for SelectionKind
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