Home
last modified time | relevance | path

Searched refs:DataEnum (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/syn/src/
Dderive.rs43 Enum(DataEnum),
71 pub struct DataEnum {
134 data: Data::Enum(DataEnum { in parse()
Dlib.rs392 pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput};
Ditem.rs2 use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput};
443 data: Data::Enum(DataEnum { in from()
/third_party/rust/crates/syn/codegen/src/
Dparse.rs10 parse_quote, Attribute, Data, DataEnum, DataStruct, DeriveInput, Fields, GenericArgument,
83 fn introspect_enum(item: &DataEnum, items: &ItemLookup, tokens: &TokenLookup) -> types::Variants { in introspect_enum() argument
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs387 syn::Data::Enum(syn::DataEnum { enum_token, .. }) => cx.error_spanned_by( in from_ast()
413 syn::Data::Enum(syn::DataEnum { enum_token, .. }) => cx in from_ast()
/third_party/rust/crates/syn/src/gen/
Dfold.rs88 fn fold_data_enum(&mut self, i: DataEnum) -> DataEnum { in fold_data_enum() argument
1029 pub fn fold_data_enum<F>(f: &mut F, node: DataEnum) -> DataEnum in fold_data_enum()
1033 DataEnum { in fold_data_enum()
Dclone.rs158 impl Clone for DataEnum { implementation
160 DataEnum { in clone()
Deq.rs181 impl Eq for DataEnum {} implementation
184 impl PartialEq for DataEnum { implementation
Dvisit_mut.rs91 fn visit_data_enum_mut(&mut self, i: &mut DataEnum) { in visit_data_enum_mut() argument
1045 pub fn visit_data_enum_mut<V>(v: &mut V, node: &mut DataEnum) in visit_data_enum_mut()
Dvisit.rs90 fn visit_data_enum(&mut self, i: &'ast DataEnum) { in visit_data_enum() argument
1044 pub fn visit_data_enum<'ast, V>(v: &mut V, node: &'ast DataEnum) in visit_data_enum()
Dhash.rs260 impl Hash for DataEnum { implementation
Ddebug.rs312 impl Debug for DataEnum { implementation
/third_party/rust/crates/syn/tests/debug/
Dgen.rs375 impl Debug for Lite<syn::DataEnum> {