Function mz_repr::explain_new::dot_string_at
source · pub fn dot_string_at<'a, T: DisplayDot<C>, C, F: Fn() -> C>(
t: &'a T,
f: F
) -> String
Expand description
Apply f: F
to create a rendering context of type C
and render the given
type t: T
as ExplainFormat::Dot
within that context.
Panics
Panics if the DisplayDot::fmt_dot
call returns a fmt::Error
.