pub struct ActionLogWidget<'a> { /* private fields */ }Expand description
A widget for rendering an action log overlay
Displays recent actions in a scrollable table format with:
- Sequence number
- Action name
- Parameters (truncated if necessary)
- Elapsed time since action
Implementations§
Source§impl<'a> ActionLogWidget<'a>
impl<'a> ActionLogWidget<'a>
Sourcepub fn new(log: &'a ActionLogOverlay) -> Self
pub fn new(log: &'a ActionLogOverlay) -> Self
Create a new action log widget
Sourcepub fn style(self, style: ActionLogStyle) -> Self
pub fn style(self, style: ActionLogStyle) -> Self
Set the style configuration
Sourcepub fn visible_rows(self, rows: usize) -> Self
pub fn visible_rows(self, rows: usize) -> Self
Set the number of visible rows
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ActionLogWidget<'a>
impl<'a> RefUnwindSafe for ActionLogWidget<'a>
impl<'a> Send for ActionLogWidget<'a>
impl<'a> Sync for ActionLogWidget<'a>
impl<'a> Unpin for ActionLogWidget<'a>
impl<'a> UnwindSafe for ActionLogWidget<'a>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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