pub enum EngineEvent {
BufferOpened {
id: BufferId,
},
Changed {
id: BufferId,
revision: Revision,
kind: MutationKind,
},
SelectionsChanged {
id: BufferId,
},
BufferClosed {
id: BufferId,
},
}Expand description
Lightweight revisioned events emitted after synchronous operations.
Variants§
BufferOpened
A buffer entered this engine.
Changed
A text mutation completed.
Fields
§
kind: MutationKindMutation kind.
SelectionsChanged
Selections changed without a text mutation.
BufferClosed
A buffer left this engine.
Trait Implementations§
Source§impl Clone for EngineEvent
impl Clone for EngineEvent
Source§impl Debug for EngineEvent
impl Debug for EngineEvent
impl Eq for EngineEvent
Source§impl PartialEq for EngineEvent
impl PartialEq for EngineEvent
impl StructuralPartialEq for EngineEvent
Auto Trait Implementations§
impl Forget for EngineEvent
impl Freeze for EngineEvent
impl Move for EngineEvent
impl RefUnwindSafe for EngineEvent
impl Send for EngineEvent
impl Sync for EngineEvent
impl Unpin for EngineEvent
impl UnsafeUnpin for EngineEvent
impl UnwindSafe for EngineEvent
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