Searched refs:from_ast (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/serde_derive/src/internals/ |
D | ast.rs | 63 pub fn from_ast( in from_ast() method 68 let mut attrs = attr::Container::from_ast(cx, item); in from_ast() 146 let attrs = attr::Variant::from_ast(cx, variant); in enum_from_ast() 197 attrs: attr::Field::from_ast(cx, i, field, attrs, container_default), in fields_from_ast()
|
D | attr.rs | 290 pub fn from_ast(cx: &Ctxt, item: &syn::DeriveInput) -> Self { in from_ast() method 859 pub fn from_ast(cx: &Ctxt, variant: &syn::Variant) -> Self { in from_ast() method 1144 pub fn from_ast( in from_ast() method
|
/external/rust/crates/regex-syntax/src/hir/ |
D | translate.rs | 630 let mut new_flags = Flags::from_ast(ast_flags); in set_flags() 1002 fn from_ast(ast: &ast::Flags) -> Flags { in from_ast() method
|
/external/rust/crates/serde_derive/src/ |
D | ser.rs | 18 let cont = match Container::from_ast(&ctxt, input, Derive::Serialize) { in expand_derive_serialize()
|
D | de.rs | 23 let cont = match Container::from_ast(&ctxt, input, Derive::Deserialize) { in expand_derive_deserialize()
|