Struct kaolinite::event::EditStack [−][src]
pub struct EditStack { pub patch: Vec<Event>, pub done: Vec<Vec<Event>>, pub undone: Vec<Vec<Event>>, }
Expand description
Event stack is a struct that handles events
Fields
patch: Vec<Event>
Where the current smaller editing events are stored
done: Vec<Vec<Event>>
This is where events that have been done are
undone: Vec<Vec<Event>>
This is where events that have been undone are
Implementations
Returns the last performed event and moves it around
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EditStack
impl UnwindSafe for EditStack