Home
last modified time | relevance | path

Searched refs:subty_if_name (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/structopt-derive/src/
Dty.rs29 } else if let Some(subty) = subty_if_name(ty, "Option") { in from_syn_ty()
85 pub fn subty_if_name<'a>(ty: &'a syn::Type, name: &str) -> Option<&'a syn::Type> { in subty_if_name() function
121 subty_if_name(ty, name).is_some() in is_generic_ty()
Dlib.rs29 ty::{is_simple_ty, sub_type, subty_if_name, Ty},
615 let (span, str_ty, values_of) = match subty_if_name(ty, "Vec") { in gen_from_subcommand()