Home
last modified time | relevance | path

Searched refs:AttrStyle (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/syn/src/
Dattr.rs150 pub style: AttrStyle,
263 AttrStyle::Outer => "#", in expected_parentheses()
264 AttrStyle::Inner(_) => "#!", in expected_parentheses()
331 pub enum AttrStyle {
483 AttrStyle::Outer => true, in outer()
484 AttrStyle::Inner(_) => false, in outer()
493 AttrStyle::Inner(_) => true, in inner()
494 AttrStyle::Outer => false, in inner()
513 style: AttrStyle::Inner(input.parse()?), in single_parse_inner()
524 style: AttrStyle::Outer, in single_parse_outer()
[all …]
Dlib.rs328 AttrStyle, Attribute, AttributeArgs, Meta, MetaList, MetaNameValue, NestedMeta,
/external/rust/crates/syn/tests/common/
Deq.rs7 AssocTyConstraintKind, Async, AttrId, AttrItem, AttrKind, AttrStyle, Attribute, BareFnTy,
345 spanless_eq_enum!(AttrStyle; Outer Inner);
517 style: AttrStyle, in doc_comment() argument
522 AttrStyle::Outer => false, in doc_comment()
523 AttrStyle::Inner => true, in doc_comment()
/external/rust/crates/syn/src/gen/
Deq.rs43 impl Eq for AttrStyle {} implementation
46 impl PartialEq for AttrStyle { implementation
49 (AttrStyle::Outer, AttrStyle::Outer) => true, in eq()
50 (AttrStyle::Inner(_), AttrStyle::Inner(_)) => true, in eq()
Dfold.rs48 fn fold_attr_style(&mut self, i: AttrStyle) -> AttrStyle { in fold_attr_style() argument
821 pub fn fold_attr_style<F>(f: &mut F, node: AttrStyle) -> AttrStyle in fold_attr_style()
826 AttrStyle::Outer => AttrStyle::Outer, in fold_attr_style()
827 AttrStyle::Inner(_binding_0) => { in fold_attr_style()
828 AttrStyle::Inner(Token![!](tokens_helper(f, &_binding_0.spans))) in fold_attr_style()
Dhash.rs45 impl Hash for AttrStyle { implementation
51 AttrStyle::Outer => { in hash()
54 AttrStyle::Inner(_) => { in hash()
Dvisit_mut.rs51 fn visit_attr_style_mut(&mut self, i: &mut AttrStyle) { in visit_attr_style_mut() argument
826 pub fn visit_attr_style_mut<V>(v: &mut V, node: &mut AttrStyle) in visit_attr_style_mut()
831 AttrStyle::Outer => {} in visit_attr_style_mut()
832 AttrStyle::Inner(_binding_0) => { in visit_attr_style_mut()
Dvisit.rs47 fn visit_attr_style(&mut self, i: &'ast AttrStyle) { in visit_attr_style() argument
822 pub fn visit_attr_style<'ast, V>(v: &mut V, node: &'ast AttrStyle) in visit_attr_style()
827 AttrStyle::Outer => {} in visit_attr_style()
828 AttrStyle::Inner(_binding_0) => { in visit_attr_style()
Dclone.rs44 impl Copy for AttrStyle {} implementation
47 impl Clone for AttrStyle { implementation
Ddebug.rs44 impl Debug for AttrStyle { implementation
47 AttrStyle::Outer => formatter.write_str("Outer"), in fmt()
48 AttrStyle::Inner(v0) => { in fmt()
/external/rust/crates/syn/tests/debug/
Dgen.rs91 impl Debug for Lite<syn::AttrStyle> {
95 syn::AttrStyle::Outer => formatter.write_str("Outer"), in fmt()
96 syn::AttrStyle::Inner(_val) => { in fmt()