[][src]Struct tui_logger::TuiLoggerWidget

pub struct TuiLoggerWidget<'b> { /* fields omitted */ }

The TuiLoggerWidget shows the logging messages in an endless scrolling view. It is controlled by a TuiWidgetState for selected events.

Methods

impl<'b> TuiLoggerWidget<'b>[src]

pub fn block(&'b mut self, block: Block<'b>) -> &mut TuiLoggerWidget<'b>[src]

pub fn style(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn style_error(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn style_warn(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn style_info(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn style_trace(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn style_debug(&'b mut self, style: Style) -> &mut TuiLoggerWidget<'b>[src]

pub fn state(&'b mut self, state: &TuiWidgetState) -> &mut TuiLoggerWidget<'b>[src]

Trait Implementations

impl<'b> Default for TuiLoggerWidget<'b>[src]

impl<'b> Widget for TuiLoggerWidget<'b>[src]

fn background(&self, area: Rect, buf: &mut Buffer, color: Color)[src]

Helper method to quickly set the background of all cells inside the specified area.

fn render<B>(&mut self, f: &mut Frame<B>, area: Rect) where
    B: Backend
[src]

Helper method that can be chained with a widget's builder methods to render it.

Auto Trait Implementations

impl<'b> !Send for TuiLoggerWidget<'b>

impl<'b> !Sync for TuiLoggerWidget<'b>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T