pub struct TimelineVisualizer { /* private fields */ }Expand description
Timeline visualizer.
Implementations§
Source§impl TimelineVisualizer
impl TimelineVisualizer
Sourcepub fn new(config: TimelineConfig) -> Self
pub fn new(config: TimelineConfig) -> Self
Create a new timeline visualizer.
Sourcepub fn visualize_trace(&self, trace: &ExecutionTrace) -> String
pub fn visualize_trace(&self, trace: &ExecutionTrace) -> String
Visualize an execution trace as ASCII timeline.
Sourcepub fn visualize_profile(&self, profile: &ProfileData) -> String
pub fn visualize_profile(&self, profile: &ProfileData) -> String
Visualize profile data as text report.
Auto Trait Implementations§
impl Freeze for TimelineVisualizer
impl RefUnwindSafe for TimelineVisualizer
impl Send for TimelineVisualizer
impl Sync for TimelineVisualizer
impl Unpin for TimelineVisualizer
impl UnsafeUnpin for TimelineVisualizer
impl UnwindSafe for TimelineVisualizer
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