Trait syntax::attr::AttributeMethodsUnstable [-] [+] [src]

pub trait AttributeMethods {
    fn meta<'a>(&'a self) -> &'a MetaItem;
    fn with_desugared_doc<T, F>(&self, f: F) -> T where F: FnOnce(&Attribute) -> T;
}

Required Methods

fn meta<'a>(&'a self) -> &'a MetaItem

fn with_desugared_doc<T, F>(&self, f: F) -> T where F: FnOnce(&Attribute) -> T

Implementors