pub enum EditKind {
Insert,
Delete,
Other,
}Expand description
What an edit did, for the purpose of deciding whether it continues the previous one.
Coarse on purpose: the question is only “is this the same kind of thing the user was already doing”, and a finer taxonomy would split runs the user experiences as one.
Variants§
Trait Implementations§
impl Copy for EditKind
impl Eq for EditKind
impl StructuralPartialEq for EditKind
Auto Trait Implementations§
impl Freeze for EditKind
impl RefUnwindSafe for EditKind
impl Send for EditKind
impl Sync for EditKind
impl Unpin for EditKind
impl UnsafeUnpin for EditKind
impl UnwindSafe for EditKind
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