Trait syntax::attr::WithAttrs
[−]
[src]
pub trait WithAttrs {
fn with_attrs(self, attrs: ThinAttributes) -> Self;
}Unstable (
rustc_private)A cheap way to add Attributes to an AST node.
Required Methods
fn with_attrs(self, attrs: ThinAttributes) -> Self
Unstable (
rustc_private)