pub fn text_string<T: DisplayText>(t: &T) -> String
Expand description
Render a type t: T
as super::ExplainFormat::Text
.
ยงPanics
Panics if the DisplayText::fmt_text
call returns a fmt::Error
.
pub fn text_string<T: DisplayText>(t: &T) -> String
Render a type t: T
as super::ExplainFormat::Text
.
Panics if the DisplayText::fmt_text
call returns a fmt::Error
.