pub(crate) trait NestedAttributesExt {
    fn get_word_attr(self, word: Symbol) -> Option<NestedMetaItem>;

    fn has_word(self, word: Symbol) -> bool
    where
        Self: Sized
, { ... } }

Required Methods§

Returns Some(attr) if the attribute list contains ‘attr’ corresponding to a specific word

Provided Methods§

Returns true if the attribute list contains a specific word

Implementors§