Trait 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

Important traits for &'a [u8]

Implementations on Foreign Types

impl HasAttrs for Vec<Attribute>
[src]

Important traits for &'a [u8]

Implementors