Home
last modified time | relevance | path

Searched refs:from_ast (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/serde_derive/src/internals/
Dast.rs63 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()
Dattr.rs290 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/
Dtranslate.rs630 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/
Dser.rs18 let cont = match Container::from_ast(&ctxt, input, Derive::Serialize) { in expand_derive_serialize()
Dde.rs23 let cont = match Container::from_ast(&ctxt, input, Derive::Deserialize) { in expand_derive_deserialize()