[][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> Default for TuiLoggerTargetWidget<'b>[src]

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

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

Auto Trait Implementations

impl<'b> !RefUnwindSafe for TuiLoggerTargetWidget<'b>

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

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

impl<'b> Unpin for TuiLoggerTargetWidget<'b>

impl<'b> !UnwindSafe for TuiLoggerTargetWidget<'b>

Blanket Implementations

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

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

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

impl<T> Erased for T

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.