[−][src]Enum prodash::tui::Event
An event to be sent in the tui::render_with_input(…events)
stream.
This way, the TUI can be instructed to draw frames or change the information to be displayed.
Variants
Draw a frame
Input(Key)
Send any key - can be used to simulate user input, and is typically generated by the TUI's own input loop.
SetWindowSize(Rect)
Change the size of the window to the given rectangle.
Useful to embed the TUI into other terminal user interfaces that can resize dynamically.
SetTitle(String)
Set the title of the progress dashboard
Provide a list of titles and lines to populate the side bar on the right.
SetInterruptMode(Interrupt)
The way the GUI will respond to interrupt requests. See Interrupt
for more information.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,