[−][src]Struct tui_logger::TuiLoggerSmartWidget
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.
Methods
impl TuiLoggerSmartWidget[src]
pub fn highlight_style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn border_style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_error(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_warn(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_info(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_trace(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_debug(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_off(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_hide(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn style_show(&mut self, style: Style) -> &mut TuiLoggerSmartWidget[src]
pub fn state(&mut self, state: &TuiWidgetState) -> &mut TuiLoggerSmartWidget[src]
Trait Implementations
impl EventListener<Event> for TuiLoggerSmartWidget[src]
fn dispatcher(
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerSmartWidget[src]
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerSmartWidget
impl Default for TuiLoggerSmartWidget[src]
fn default() -> TuiLoggerSmartWidget[src]
impl Widget for TuiLoggerSmartWidget[src]
fn draw(&mut self, _area: Rect, _buf: &mut Buffer)[src]
Nothing to draw for combo widget
fn render<B>(&mut self, t: &mut Frame<B>, area: Rect) where
Self: Sized,
B: Backend, [src]
Self: Sized,
B: Backend,
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.
Auto Trait Implementations
impl !Send for TuiLoggerSmartWidget
impl !Sync for TuiLoggerSmartWidget
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,