Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/src/
Dmacros.rs168 macro_rules! arg_impl { macro
211 let long = $crate::arg_impl! { @string $long };
219 let arg = $crate::arg_impl! {
234 let long = $crate::arg_impl! { @string $long };
242 let arg = $crate::arg_impl! {
259 .short($crate::arg_impl! { @char $short })
261 let arg = $crate::arg_impl! {
278 .short($crate::arg_impl! { @char $short })
280 let arg = $crate::arg_impl! {
300 let value_name = $crate::arg_impl! { @string $value_name };
[all …]
/third_party/rust/crates/clap/tests/
Dmacros.rs315 mod arg_impl { module
319 let actual = clap::arg_impl! { @string one }; in string_ident()
326 let actual = clap::arg_impl! { @string "one" }; in string_literal()
333 let actual = clap::arg_impl! { @char o }; in char_ident()
340 let actual = clap::arg_impl! { @char 'o' }; in char_literal()