Trait syntex_syntax::attr::HasAttrs [−] [src]

pub trait HasAttrs: Sized {
    fn attrs(&self) -> &[Attribute];
    fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(
        self,
        f: F
    ) -> Self; }

Required Methods

Implementors