Lines Matching full:attrs
1 use crate::attr::{self, Attrs};
15 pub attrs: Attrs<'a>, field
23 pub attrs: Attrs<'a>, field
31 pub attrs: Attrs<'a>, field
38 pub attrs: Attrs<'a>, field
58 let mut attrs = attr::get(&node.attrs)?; in from_syn() localVariable
59 let span = attrs.span().unwrap_or_else(Span::call_site); in from_syn()
61 if let Some(display) = &mut attrs.display { in from_syn()
66 attrs, in from_syn()
76 let attrs = attr::get(&node.attrs)?; in from_syn() localVariable
77 let span = attrs.span().unwrap_or_else(Span::call_site); in from_syn()
83 if let display @ None = &mut variant.attrs.display { in from_syn()
84 *display = attrs.display.clone(); in from_syn()
86 if let Some(display) = &mut variant.attrs.display { in from_syn()
88 } else if variant.attrs.transparent.is_none() { in from_syn()
89 variant.attrs.transparent = attrs.transparent; in from_syn()
96 attrs, in from_syn()
106 let attrs = attr::get(&node.attrs)?; in from_syn() localVariable
107 let span = attrs.span().unwrap_or(span); in from_syn()
110 attrs, in from_syn()
129 attrs: attr::get(&node.attrs)?, in from_syn()
141 impl Attrs<'_> { implementation