pub trait AstNodeFormatExt {
// Required method
fn into_format_element(self) -> FormatElement;
}
Expand description
An extension trait for formatting Node
s.
Required Methods§
Sourcefn into_format_element(self) -> FormatElement
fn into_format_element(self) -> FormatElement
Consumes self
and returns the Node
as a FormatElement
.