Struct tui_logger::TuiLoggerSmartWidget[][src]

pub struct TuiLoggerSmartWidget { /* 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 TuiLoggerSmartWidget[src]

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Default for TuiLoggerSmartWidget[src]

impl EventListener<Event> for TuiLoggerSmartWidget[src]

impl Widget for TuiLoggerSmartWidget[src]

fn render(mut self: 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.