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
Source§fn clone(&self) -> SelectionOperation
fn clone(&self) -> SelectionOperation
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 moreAuto Trait Implementations§
impl Freeze for SelectionOperation
impl RefUnwindSafe for SelectionOperation
impl Send for SelectionOperation
impl Sync for SelectionOperation
impl Unpin 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