pub struct LogViewer { /* fields omitted */ }
Expand description
A scrollable, append-only buffer of lines.
pub fn new() -> Self
[src]
Create an empty LogViewer
. Add lines by writing to the viewer as std::io::Write
.
Prepare for drawing as a Widget
.
Writes a string slice into this writer, returning whether the write
succeeded. Read more
Writes a char
into this writer, returning whether the write succeeded. Read more
Glue for usage of the write!
macro with implementors of this trait. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.