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§