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§
Source§impl<'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§
Source§impl<'b> Default for TuiLoggerTargetWidget<'b>
impl<'b> Default for TuiLoggerTargetWidget<'b>
Source§fn default() -> TuiLoggerTargetWidget<'b>
fn default() -> TuiLoggerTargetWidget<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for TuiLoggerTargetWidget<'b>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more