Home
last modified time | relevance | path

Searched refs:subty_if_name (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/clap/clap_derive/src/utils/
H A Dty.rs31 } else if let Some(subty) = subty_if_name(ty, "Option") { in from_syn_ty()
116 pub fn subty_if_name<'a>(ty: &'a syn::Type, name: &str) -> Option<&'a syn::Type> { in subty_if_name() functions
133 subty_if_name(ty, name).is_some() in is_generic_ty()
153 subty_if_name(ty, "Vec").map(|subty| { in get_vec_ty()
H A Dmod.rs12 ty::{inner_type, is_simple_ty, sub_type, subty_if_name, Ty},
/third_party/rust/crates/clap/clap_derive/src/derives/
H A Dsubcommand.rs21 use crate::utils::{is_simple_ty, subty_if_name};
153 let subty = subty_if_name(ty, "Vec").ok_or_else(|| { in gen_augment()
448 let (span, str_ty) = match subty_if_name(ty, "Vec") { in gen_from_arg_matches()

Completed in 2 milliseconds