Trait radn::rstd::tracing::Traceable

source ·
pub trait Traceable<'a, Ctx: Context<'a, _Tm = TracedInstance>>: Mentionable<'a, Ctx> + Sized {
    // Provided method
    fn trace(&self) -> ParseResultA<'a, Self> { ... }
}
Expand description

Extension trait to trace the evaluation flow.

Provided Methods§

source

fn trace(&self) -> ParseResultA<'a, Self>

Re-cast the value, adding an extra1 note (RenderedCommon::Resolution) to the trace on each resolution.


  1. applying Traceable::trace multiple times might affect the trace in undesireable ways 

Implementors§

source§

impl<'a, Ctx: Context<'a, _Tm = TracedInstance>, A: Mentionable<'a, Ctx>> Traceable<'a, Ctx> for A