[−][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> Default for TuiLoggerTargetWidget<'b>
[src]
fn default() -> TuiLoggerTargetWidget<'b>
[src]
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> Widget for TuiLoggerTargetWidget<'b>
[src]
Auto Trait Implementations
impl<'b> !RefUnwindSafe for TuiLoggerTargetWidget<'b>
impl<'b> !Send for TuiLoggerTargetWidget<'b>
impl<'b> !Sync for TuiLoggerTargetWidget<'b>
impl<'b> Unpin for TuiLoggerTargetWidget<'b>
impl<'b> !UnwindSafe for TuiLoggerTargetWidget<'b>
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
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.
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>,