pub trait SyntaxFmt<S> {
// Required method
fn syntax_fmt(
&self,
f: &mut SyntaxFormatter<'_, '_, '_, '_, S>,
) -> FmtResult;
}Expand description
Trait for types that can be formatted as syntax.
Required Methods§
Sourcefn syntax_fmt(&self, f: &mut SyntaxFormatter<'_, '_, '_, '_, S>) -> FmtResult
fn syntax_fmt(&self, f: &mut SyntaxFormatter<'_, '_, '_, '_, S>) -> FmtResult
Formats this value using the given context.