Home
last modified time | relevance | path

Searched refs:inner_type (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/derives/
Dargs.rs26 use crate::utils::{inner_type, sub_type, Sp, Ty};
216 let inner_type = match (**ty, sub_type(&field.ty)) { in gen_augment() localVariable
228 … let #app_var = <#inner_type as clap::Args>::augment_args_for_update(#app_var); in gen_augment()
235 let #app_var = <#inner_type as clap::Args>::augment_args(#app_var); in gen_augment()
476 let inner_type = match (**ty, sub_type(&field.ty)) { in gen_constructor() localVariable
483 … #field_name: <#inner_type as clap::FromArgMatches>::from_arg_matches_mut(#arg_matches)? in gen_constructor()
489 let group_id = <#inner_type as clap::Args>::group_id() in gen_constructor()
493 … <#inner_type as clap::FromArgMatches>::from_arg_matches_mut(#arg_matches)? in gen_constructor()
590 let inner_type = match (**ty, sub_type(&field.ty)) { in gen_updater() localVariable
596 … <#inner_type as clap::FromArgMatches>::update_from_arg_matches_mut(#field_name, #arg_matches)?; in gen_updater()
[all …]
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs25 use crate::utils::{extract_doc_comment, format_doc_comment, inner_type, is_simple_ty, Sp, Ty};
610 let inner_type = inner_type(ty); in push_attrs() localVariable
622 T: ::std::borrow::Borrow<#inner_type> in push_attrs()
646 T: ::std::borrow::Borrow<#inner_type> in push_attrs()
742 let inner_type = inner_type(ty); in push_attrs() localVariable
754 T: ::std::borrow::Borrow<#inner_type> in push_attrs()
778 T: ::std::borrow::Borrow<#inner_type> in push_attrs()
1002 let inner_type = inner_type(field_type); in value_parser() localVariable
1003 p.resolve(inner_type) in value_parser()
1006 let inner_type = inner_type(field_type); in value_parser() localVariable
[all …]
/third_party/rust/crates/bindgen/bindgen/ir/analysis/
Dderive.rs224 let inner_type = in constrain_type() localVariable
226 if let TypeKind::Function(ref sig) = *inner_type.kind() { in constrain_type()
238 let inner_type = in constrain_type() localVariable
240 if inner_type != CanDerive::Yes { in constrain_type()
277 let inner_type = in constrain_type() localVariable
279 if inner_type != CanDerive::Yes { in constrain_type()
/third_party/rust/crates/clap/clap_derive/src/utils/
Dmod.rs10 ty::{inner_type, is_simple_ty, sub_type, subty_if_name, Ty},
Dty.rs58 pub fn inner_type(field_ty: &syn::Type) -> &syn::Type { in inner_type() function
/third_party/rust/crates/bindgen/bindgen/codegen/
Dimpl_debug.rs231 let inner_type = ctx.resolve_type(inner).canonical_type(ctx); in impl_debug() localVariable
232 match *inner_type.kind() { in impl_debug()
/third_party/rust/crates/bindgen/bindgen/ir/
Dty.rs944 let inner_type = match inner { in from_clang_ty() localVariable
956 TypeKind::TemplateAlias(inner_type, args) in from_clang_ty()