pub trait AstNodeFormatExt {
// Required method
fn into_format_element(self) -> FormatElement;
}Expand description
An extension trait for formatting Nodes.
Required Methods§
Sourcefn into_format_element(self) -> FormatElement
fn into_format_element(self) -> FormatElement
Consumes self and returns the Node as a FormatElement.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".