Skip to main content

AstElementFormatExt

Trait AstElementFormatExt 

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

An extension trait for formatting Elements.

Required Methods§

Source

fn into_format_element(self) -> FormatElement

Consumes self and returns the Element as a FormatElement.

Implementations on Foreign Types§

Source§

impl AstElementFormatExt for Element

Implementors§