Enum pepper::events::EditorEvent
source · [−]pub enum EditorEvent {
Idle,
BufferRead {
handle: BufferHandle,
},
BufferInsertText {
handle: BufferHandle,
range: BufferRange,
text: EditorEventText,
},
BufferDeleteText {
handle: BufferHandle,
range: BufferRange,
},
BufferWrite {
handle: BufferHandle,
new_path: bool,
},
BufferClose {
handle: BufferHandle,
},
FixCursors {
handle: BufferViewHandle,
cursors: EditorEventCursors,
},
}
Variants
Idle
BufferRead
Fields
handle: BufferHandle
BufferInsertText
BufferDeleteText
BufferWrite
BufferClose
Fields
handle: BufferHandle
FixCursors
Auto Trait Implementations
impl RefUnwindSafe for EditorEvent
impl Send for EditorEvent
impl Sync for EditorEvent
impl Unpin for EditorEvent
impl UnwindSafe for EditorEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more