pub enum Action {
Insert {
start: usize,
text: Vec<char>,
},
Remove {
start: usize,
text: Vec<char>,
},
StartGroup,
EndGroup,
}
Expand description
A modification performed on a Buffer
. These are used for the purpose of undo/redo.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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