Lines Matching refs:Attribute
175 pub struct Attribute {
183 impl Attribute { implementation
597 type Ret: Iterator<Item = &'a Attribute>;
605 impl<'a> FilterAttrs<'a> for &'a [Attribute] { implementation
606 type Ret = iter::Filter<slice::Iter<'a, Attribute>, fn(&&Attribute) -> bool>;
609 fn is_outer(attr: &&Attribute) -> bool { in outer()
620 fn is_inner(attr: &&Attribute) -> bool { in inner()
650 use crate::attr::{AttrStyle, Attribute, Meta, MetaList, MetaNameValue};
661 pub(crate) fn parse_inner(input: ParseStream, attrs: &mut Vec<Attribute>) -> Result<()> { in parse_inner()
668 pub(crate) fn single_parse_inner(input: ParseStream) -> Result<Attribute> { in single_parse_inner() argument
670 Ok(Attribute { in single_parse_inner()
678 pub(crate) fn single_parse_outer(input: ParseStream) -> Result<Attribute> { in single_parse_outer() argument
680 Ok(Attribute { in single_parse_outer()
792 use crate::attr::{AttrStyle, Attribute, Meta, MetaList, MetaNameValue};
799 impl ToTokens for Attribute { implementation