#[non_exhaustive]#[repr(u32)]pub enum Behavior {
Cell = 0,
Word = 1,
Line = 2,
Output = 3,
}Expand description
Selection behavior chosen for a gesture’s click sequence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cell = 0
Cell-granular drag selection.
Word = 1
Word selection on press and word-granular drag selection.
Line = 2
Line selection on press and line-granular drag selection.
Output = 3
Semantic command output selection on press and drag.
Trait Implementations§
impl Copy for Behavior
impl Eq for Behavior
impl StructuralPartialEq for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnsafeUnpin for Behavior
impl UnwindSafe for Behavior
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