syn::attr

Trait FilterAttrs

source
pub(crate) trait FilterAttrs<'a> {
    type Ret: Iterator<Item = &'a Attribute>;

    // Required methods
    fn outer(self) -> Self::Ret;
    fn inner(self) -> Self::Ret;
}

Required Associated Types§

source

type Ret: Iterator<Item = &'a Attribute>

Required Methods§

source

fn outer(self) -> Self::Ret

source

fn inner(self) -> Self::Ret

Implementations on Foreign Types§

source§

impl<'a> FilterAttrs<'a> for &'a [Attribute]

source§

type Ret = Filter<Iter<'a, Attribute>, fn(_: &&Attribute) -> bool>

source§

fn outer(self) -> Self::Ret

source§

fn inner(self) -> Self::Ret

Implementors§