Trait AstNodeFormatExt

Source
pub trait AstNodeFormatExt {
    // Required method
    fn into_format_element(self) -> FormatElement;
}
Expand description

An extension trait for formatting Nodes.

Required Methods§

Source

fn into_format_element(self) -> FormatElement

Consumes self and returns the Node as a FormatElement.

Implementations on Foreign Types§

Source§

impl AstNodeFormatExt for Node

Implementors§