pub struct Event<'a, 'out: 'a> {
pub editor: &'a mut Editor<'out>,
pub kind: EventKind,
}
Expand description
Event has context about the state of the editor and the EventKind and is consumed by Completer
Fields§
§editor: &'a mut Editor<'out>
§kind: EventKind
Implementations§
Auto Trait Implementations§
impl<'a, 'out> Freeze for Event<'a, 'out>
impl<'a, 'out> !RefUnwindSafe for Event<'a, 'out>
impl<'a, 'out> !Send for Event<'a, 'out>
impl<'a, 'out> !Sync for Event<'a, 'out>
impl<'a, 'out> Unpin for Event<'a, 'out>
impl<'a, 'out> !UnwindSafe for Event<'a, 'out>
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