Struct tui_logger::TuiLoggerTargetWidget
source · [−]pub struct TuiLoggerTargetWidget<'b> { /* private fields */ }
Expand description
This is the definition for the TuiLoggerTargetWidget, which allows configuration of the logger system and selection of log messages.
Implementations
sourceimpl<'b> TuiLoggerTargetWidget<'b>
impl<'b> TuiLoggerTargetWidget<'b>
pub fn block(self, block: Block<'b>) -> TuiLoggerTargetWidget<'b>
pub fn style(self, style: Style) -> TuiLoggerTargetWidget<'b>
pub fn style_off(self, style: Style) -> TuiLoggerTargetWidget<'b>
pub fn style_hide(self, style: Style) -> TuiLoggerTargetWidget<'b>
pub fn style_show(self, style: Style) -> TuiLoggerTargetWidget<'b>
pub fn highlight_style(self, style: Style) -> TuiLoggerTargetWidget<'b>
pub fn state(self, state: &TuiWidgetState) -> TuiLoggerTargetWidget<'b>
Trait Implementations
sourceimpl<'b> Default for TuiLoggerTargetWidget<'b>
impl<'b> Default for TuiLoggerTargetWidget<'b>
sourcefn default() -> TuiLoggerTargetWidget<'b>
fn default() -> TuiLoggerTargetWidget<'b>
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more