Lines Matching defs:bool
79 /// - [`BoolishValueParser`] and [`FalseyValueParser`] for alternative `bool` implementations
114 /// [`bool`] parser for argument values
117 /// - [`BoolishValueParser`] for different human readable bool representations
126 /// .value_parser(clap::value_parser!(bool))
131 /// let port: bool = *m.get_one("download")
137 pub const fn bool() -> Self {
549 ValueParserInner::Bool => f.debug_struct("ValueParser::bool").finish(),
1609 /// Implementation for [`ValueParser::bool`]
1617 /// Implementation for [`ValueParser::bool`]
1631 type Value = bool;
1676 /// - [`ValueParser::bool`] for assuming non-false is true
1677 /// - [`BoolishValueParser`] for different human readable bool representations
1691 /// let port: bool = *m.get_one("append")
1731 type Value = bool;
1766 /// Parse bool-like string values, everything else is `true`
1769 /// - [`ValueParser::bool`] for different human readable bool representations
1784 /// let port: bool = *m.get_one("append")
1813 /// Parse bool-like string values, everything else is `true`
1828 type Value = bool;
2118 impl ValueParserFactory for bool {
2121 ValueParser::bool() // Default `clap_derive` to optimized implementation
2318 /// - [Native types][ValueParser]: `bool`, `String`, `OsString`, `PathBuf`