pub struct ConsoleLine<'a> {
pub text: &'a str,
pub written_micros: u64,
pub after_call: Option<u64>,
pub truncated: bool,
}Expand description
A console line, placed on the run’s clock among its calls.
Fields§
§text: &'a str§written_micros: u64Microseconds since the recorder started, on the clock its calls use.
after_call: Option<u64>The last call begun before the line was written; None before the first.
truncated: booltext is the start of a longer line.
Trait Implementations§
Source§impl<'a> Clone for ConsoleLine<'a>
impl<'a> Clone for ConsoleLine<'a>
impl<'a> Copy for ConsoleLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConsoleLine<'a>
impl<'a> RefUnwindSafe for ConsoleLine<'a>
impl<'a> Send for ConsoleLine<'a>
impl<'a> Sync for ConsoleLine<'a>
impl<'a> Unpin for ConsoleLine<'a>
impl<'a> UnsafeUnpin for ConsoleLine<'a>
impl<'a> UnwindSafe for ConsoleLine<'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