[−][src]Struct tui_logger::TuiLoggerTargetWidget
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]
&'b mut self,
style: Style
) -> &mut TuiLoggerTargetWidget<'b>
pub fn state(
&'b mut self,
state: &TuiWidgetState
) -> &mut TuiLoggerTargetWidget<'b>[src]
&'b mut self,
state: &TuiWidgetState
) -> &mut TuiLoggerTargetWidget<'b>
Trait Implementations
impl<'b> EventListener<Event> for TuiLoggerTargetWidget<'b>[src]
fn dispatcher(
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerTargetWidget<'b>[src]
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerTargetWidget<'b>
impl<'b> Default for TuiLoggerTargetWidget<'b>[src]
fn default() -> TuiLoggerTargetWidget<'b>[src]
impl<'b> Widget for TuiLoggerTargetWidget<'b>[src]
fn draw(&mut self, area: Rect, buf: &mut Buffer)[src]
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.
fn render<B>(&mut self, f: &mut Frame<B>, area: Rect) where
B: Backend, [src]
B: Backend,
Helper method that can be chained with a widget's builder methods to render it.
Auto Trait Implementations
impl<'b> !Send for TuiLoggerTargetWidget<'b>
impl<'b> !Sync for TuiLoggerTargetWidget<'b>
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,