Trait syntex_syntax::attr::WithAttrs [] [src]

pub trait WithAttrs {
    fn with_attrs(self, attrs: ThinAttributes) -> Self;
}

A cheap way to add Attributes to an AST node.

Required Methods

fn with_attrs(self, attrs: ThinAttributes) -> Self

Implementors