Struct tui_logger::TuiLoggerSmartWidget [−][src]
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]
T: Into<Spans<'a>>,
pub fn title_log<T>(self, title: T) -> Self where
T: Into<Spans<'a>>,
[src]
T: Into<Spans<'a>>,
pub fn state(self, state: &TuiWidgetState) -> Self
[src]
Trait Implementations
impl<'a> Default for TuiLoggerSmartWidget<'a>
[src]
impl<'a> Widget for TuiLoggerSmartWidget<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TuiLoggerSmartWidget<'a>
[src]
impl<'a> !Send for TuiLoggerSmartWidget<'a>
[src]
impl<'a> !Sync for TuiLoggerSmartWidget<'a>
[src]
impl<'a> Unpin for TuiLoggerSmartWidget<'a>
[src]
impl<'a> !UnwindSafe for TuiLoggerSmartWidget<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,