Home
last modified time | relevance | path

Searched defs:DeriveInput (Results 1 – 17 of 17) sorted by relevance

/external/crosvm/bit_field/bit_field_derive/
Dbit_field_derive.rs64 fn bitfield_tuple_struct_impl(ast: &DeriveInput, fields: &FieldsUnnamed) -> Result<TokenStream> { in bitfield_tuple_struct_impl()
136 fn bitfield_enum_impl(ast: &DeriveInput, data: &DataEnum) -> Result<TokenStream> { in bitfield_enum_impl()
146 ast: &DeriveInput, in bitfield_enum_with_width_impl()
218 fn bitfield_enum_without_width_impl(ast: &DeriveInput, data: &DataEnum) -> Result<TokenStream> { in bitfield_enum_without_width_impl()
272 ast: &DeriveInput, in get_declare_discriminants_for_enum()
323 fn bitfield_struct_impl(ast: &DeriveInput, fields: &FieldsNamed) -> Result<TokenStream> { in bitfield_struct_impl()
/external/rust/crates/syn/src/
Dderive.rs96 impl Parse for DeriveInput { implementation
232 impl ToTokens for DeriveInput { implementation
Ditem.rs425 impl From<ItemStruct> for DeriveInput { implementation
426 fn from(input: ItemStruct) -> DeriveInput { in from()
441 impl From<ItemEnum> for DeriveInput { implementation
442 fn from(input: ItemEnum) -> DeriveInput { in from()
457 impl From<ItemUnion> for DeriveInput { implementation
458 fn from(input: ItemUnion) -> DeriveInput { in from()
/external/rust/crates/thiserror-impl/src/
Dast.rs57 fn from_syn(node: &'a DeriveInput, data: &'a DataStruct) -> Result<Self> { in from_syn()
75 fn from_syn(node: &'a DeriveInput, data: &'a DataEnum) -> Result<Self> { in from_syn()
/external/rust/crates/derive_arbitrary/src/
Dlib.rs70 fn gen_arbitrary_method(input: &DeriveInput, lifetime: LifetimeDef) -> TokenStream { in gen_arbitrary_method()
/external/rust/crates/serde_derive/src/internals/
Dreceiver.rs11 pub fn replace_receiver(input: &mut DeriveInput) { in replace_receiver()
Dast.rs65 item: &'a syn::DeriveInput, in from_ast()
Dattr.rs708 item: &syn::DeriveInput, in decide_tag()
790 item: &syn::DeriveInput, in decide_identifier()
/external/rust/crates/serde_derive/src/
Dser.rs13 input: &mut syn::DeriveInput, in expand_derive_serialize()
Dde.rs18 input: &mut syn::DeriveInput, in expand_derive_deserialize()
/external/rust/crates/syn/src/gen/
Deq.rs218 impl Eq for DeriveInput {} implementation
221 impl PartialEq for DeriveInput { implementation
Dclone.rs190 impl Clone for DeriveInput { implementation
Dhash.rs291 impl Hash for DeriveInput { implementation
Dvisit_mut.rs103 fn visit_derive_input_mut(&mut self, i: &mut DeriveInput) { in visit_derive_input_mut()
Dfold.rs100 fn fold_derive_input(&mut self, i: DeriveInput) -> DeriveInput { in fold_derive_input()
Ddebug.rs344 impl Debug for DeriveInput { implementation
Dvisit.rs99 fn visit_derive_input(&mut self, i: &'ast DeriveInput) { in visit_derive_input()