pub enum HandleKind {
Cursor,
SelectionStart,
SelectionEnd,
}Expand description
Which selection handle a lollipop represents.
Variants§
Cursor
The cursor handle shown for a collapsed selection: the caret stem with a round grab dot hanging below the line (like the end handle).
SelectionStart
The start (leftmost) selection handle: dot ON TOP of the line, stem spanning the line box below it.
SelectionEnd
The end (rightmost) selection handle: stem spanning the line box, dot hanging BELOW it.
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