[][src]Struct tui_logger::TuiLoggerTargetWidget

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

This is the definition for the TuiLoggerTargetWidget, which allows configuration of the logger system and selection of log messages. It implements the EventListener trait, because it can enter event handlers to the dispatcher for the key commands.

Methods

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

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

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

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

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

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

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

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

Trait Implementations

impl<'b> EventListener<Event> for TuiLoggerTargetWidget<'b>[src]

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

impl<'b> Widget for TuiLoggerTargetWidget<'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 TuiLoggerTargetWidget<'b>

impl<'b> !Sync for TuiLoggerTargetWidget<'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