diff --git a/src/rstd/tracing/rendered.rs b/src/rstd/tracing/rendered.rs index 325d4fa..e19e659 100644 --- a/src/rstd/tracing/rendered.rs +++ b/src/rstd/tracing/rendered.rs @@ -1,13 +1,5 @@ use std::cmp::max; -#[cfg(doc)] -use crate::func::*; -#[cfg(doc)] -use crate::rcore::*; - -#[cfg(doc)] -use super::*; - /// Represents width (concurrency/throughput) and length (time/latency). /// Use [`WithLengthAndWidth::length`] and [`WithLengthAndWidth::width`] to access them. pub struct WithLengthAndWidth { @@ -25,24 +17,35 @@ pub enum RenderedCommon { /// Represented as 0x0 by default. /// /// Normally, is either at the root of the trace or wrapped into [`RenderedCommon::Action`]. + /// + /// [`Pure::pure`]: crate::func::Pure::pure Empty, /// Exactly one resolution is involved in getting the value. /// /// Usually, a result of [`Traceable::trace`]. /// /// Represented as 1x1 by default. + /// + /// [`Traceable::trace`]: super::Traceable::trace Resolution, /// Arbitrary event for [Diagnostic]s. /// /// Usually, a result of [`Diagnostic::after`]/[`Diagnostic::before`]. /// /// Represented as 0x0 by default. + /// + /// [Diagnostic]: crate::rcore::Diagnostic + /// [`Diagnostic::after`]: crate::rcore::Diagnostic::after + /// [`Diagnostic::before`]: crate::rcore::Diagnostic::before Event(String), /// Named action for [Diagnostic]s. /// /// Usually, a result of [`Diagnostic::wrapped`]. /// /// Represented with the same dimensions as the wrapped trace by default. + /// + /// [Diagnostic]: crate::rcore::Diagnostic + /// [`Diagnostic::wrapped`]: crate::rcore::Diagnostic::wrapped Action { name: String, rendered: Box>,