Struct tui_logger::TuiLoggerSmartWidget[][src]

pub struct TuiLoggerSmartWidget<'a> { /* fields omitted */ }

The Smart Widget combines the TuiLoggerWidget and the TuiLoggerTargetWidget into a nice combo, where the TuiLoggerTargetWidget can be shown/hidden.

In the title the number of logging messages/s in the whole buffer is shown.

Implementations

impl<'a> TuiLoggerSmartWidget<'a>[src]

pub fn highlight_style(self, style: Style) -> Self[src]

pub fn border_style(self, style: Style) -> Self[src]

pub fn style(self, style: Style) -> Self[src]

pub fn style_error(self, style: Style) -> Self[src]

pub fn style_warn(self, style: Style) -> Self[src]

pub fn style_info(self, style: Style) -> Self[src]

pub fn style_trace(self, style: Style) -> Self[src]

pub fn style_debug(self, style: Style) -> Self[src]

pub fn style_off(self, style: Style) -> Self[src]

pub fn style_hide(self, style: Style) -> Self[src]

pub fn style_show(self, style: Style) -> Self[src]

pub fn title_target<T>(self, title: T) -> Self where
    T: Into<Spans<'a>>, 
[src]

pub fn title_log<T>(self, title: T) -> Self where
    T: Into<Spans<'a>>, 
[src]

pub fn state(self, state: &TuiWidgetState) -> Self[src]

Trait Implementations

impl<'a> Default for TuiLoggerSmartWidget<'a>[src]

impl<'a> Widget for TuiLoggerSmartWidget<'a>[src]

fn render(self, area: Rect, buf: &mut Buffer)[src]

Nothing to draw for combo widget

Auto Trait Implementations

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> 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.