pub enum Operation {
Delete(u64),
Retain(u64),
Insert(String),
}
Expand description
A single operation to be executed at the cursor’s current position.
Variants§
Trait Implementations§
Source§impl FromIterator<Operation> for OperationSeq
impl FromIterator<Operation> for OperationSeq
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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