Home
last modified time | relevance | path

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

/external/rust/crates/structopt-derive/src/
Dattrs.rs46 TryFromStr, enumerator
137 let kind = Sp::new(ParserKind::TryFromStr, span); in default_spanned()
147 "try_from_str" => TryFromStr, in from_spec()
160 TryFromStr => quote_spanned!(spec.kind.span()=> ::std::str::FromStr::from_str), in from_spec()
Dlib.rs153 ParserKind::TryFromStr => quote_spanned! { func.span()=> in gen_augmentation()
307 TryFromStr => ( in gen_constructor()