pub struct ToolLog { /* private fields */ }Expand description
The Tool log of one review as a screen shows it: one entry per run, in the order they started, each with its output and, once known, its end.
Implementations§
Source§impl ToolLog
impl ToolLog
Sourcepub fn apply(&mut self, event: Event)
pub fn apply(&mut self, event: Event)
Take event in: a start opens an entry; lines and the end join their run’s entry.
Lines of a run this log never saw start (it was cleared since) are dropped.
pub fn entries(&self) -> &[Entry]
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
Trait Implementations§
impl Eq for ToolLog
impl StructuralPartialEq for ToolLog
Auto Trait Implementations§
impl Freeze for ToolLog
impl RefUnwindSafe for ToolLog
impl Send for ToolLog
impl Sync for ToolLog
impl Unpin for ToolLog
impl UnsafeUnpin for ToolLog
impl UnwindSafe for ToolLog
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.