pub enum SelectionGranularity {
Character,
Word,
Line,
}Expand description
Selection granularity (click count determines expansion).
Variants§
Character
Character-level (single click + drag).
Word
Word-level (double click).
Line
Line-level (triple click).
Trait Implementations§
Source§impl Clone for SelectionGranularity
impl Clone for SelectionGranularity
Source§fn clone(&self) -> SelectionGranularity
fn clone(&self) -> SelectionGranularity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SelectionGranularity
impl Debug for SelectionGranularity
Source§impl PartialEq for SelectionGranularity
impl PartialEq for SelectionGranularity
impl Copy for SelectionGranularity
impl Eq for SelectionGranularity
impl StructuralPartialEq for SelectionGranularity
Auto Trait Implementations§
impl Freeze for SelectionGranularity
impl RefUnwindSafe for SelectionGranularity
impl Send for SelectionGranularity
impl Sync for SelectionGranularity
impl Unpin for SelectionGranularity
impl UnwindSafe for SelectionGranularity
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