pub enum HandleKind {
Cursor,
SelectionStart,
SelectionEnd,
}Expand description
Which selection handle a teardrop represents.
Variants§
Cursor
The blinking-cursor handle shown for a collapsed selection: a teardrop whose tip points up at the cursor, centered under it.
SelectionStart
The start (leftmost) selection handle: tip at the top-right, bulb below-left.
SelectionEnd
The end (rightmost) selection handle: tip at the top-left, bulb below-right.
Trait Implementations§
Source§impl Clone for HandleKind
impl Clone for HandleKind
Source§fn clone(&self) -> HandleKind
fn clone(&self) -> HandleKind
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 HandleKind
Source§impl Debug for HandleKind
impl Debug for HandleKind
impl Eq for HandleKind
Source§impl Hash for HandleKind
impl Hash for HandleKind
Source§impl PartialEq for HandleKind
impl PartialEq for HandleKind
impl StructuralPartialEq for HandleKind
Auto Trait Implementations§
impl Freeze for HandleKind
impl RefUnwindSafe for HandleKind
impl Send for HandleKind
impl Sync for HandleKind
impl Unpin for HandleKind
impl UnsafeUnpin for HandleKind
impl UnwindSafe for HandleKind
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