pub enum SelectionEventType {
StartEdgeUpdate,
EndEdgeUpdate,
Clear,
SelectAll,
SelectWord,
SelectParagraph,
GranularlyExtendSelection,
DirectionallyExtendSelection,
}Expand description
The type of a SelectionEvent.
Variants§
StartEdgeUpdate
An event to update the selection start edge.
EndEdgeUpdate
An event to update the selection end edge.
Clear
An event to clear the current selection.
SelectAll
An event to select all the available content.
SelectWord
An event to select a word at a location.
SelectParagraph
An event to select a paragraph at a location.
GranularlyExtendSelection
An event that extends the selection by a TextGranularity.
DirectionallyExtendSelection
An event that extends the selection in a SelectionExtendDirection.
Trait Implementations§
Source§impl Clone for SelectionEventType
impl Clone for SelectionEventType
impl Copy for SelectionEventType
Source§impl Debug for SelectionEventType
impl Debug for SelectionEventType
impl Eq for SelectionEventType
Source§impl PartialEq for SelectionEventType
impl PartialEq for SelectionEventType
impl StructuralPartialEq for SelectionEventType
Auto Trait Implementations§
impl Forget for SelectionEventType
impl Freeze for SelectionEventType
impl Move for SelectionEventType
impl RefUnwindSafe for SelectionEventType
impl Send for SelectionEventType
impl Sync for SelectionEventType
impl Unpin for SelectionEventType
impl UnsafeUnpin for SelectionEventType
impl UnwindSafe for SelectionEventType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.