pub enum Event {
Main(Item),
PaneCreated(u32),
PaneDeleted(u32),
PaneCleared(u32),
Pane(u32, Vec<Item>),
}Expand description
What happens on a rich display, in order: the main window’s items, and the panes’.
Variants§
Main(Item)
Something for the main window.
PaneCreated(u32)
A pane was made.
PaneDeleted(u32)
A pane was removed.
PaneCleared(u32)
A pane’s text was removed.
Pane(u32, Vec<Item>)
Something for a text pane: what was written to it since it was last shown.
Implementations§
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Eventwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, Option<String>)>: Freeze,
PhantomData<Item>: Freeze,
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Eventwhere
RawVecInner: Send,
impl Sync for Eventwhere
RawVecInner: Sync,
impl Unpin for Event
impl UnsafeUnpin for Eventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, Option<String>)>: UnsafeUnpin,
PhantomData<Item>: UnsafeUnpin,
impl UnwindSafe for Eventwhere
RawVecInner: UnwindSafe,
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