pub enum SelectionOperation {
Changed {
old_anchor: Option<usize>,
old_cursor: usize,
new_anchor: Option<usize>,
new_cursor: usize,
},
}Expand description
Selection state operation types.
Variants§
Changed
Selection changed.
Trait Implementations§
Source§impl Clone for SelectionOperation
impl Clone for SelectionOperation
Auto Trait Implementations§
impl Forget for SelectionOperation
impl Freeze for SelectionOperation
impl Move for SelectionOperation
impl RefUnwindSafe for SelectionOperation
impl Send for SelectionOperation
impl Sync for SelectionOperation
impl Unpin for SelectionOperation
impl UnsafeUnpin for SelectionOperation
impl UnwindSafe for SelectionOperation
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