Lines Matching refs:Into
128 pub fn new(name: impl Into<Str>) -> Self {
165 pub fn arg(mut self, a: impl Into<Arg>) -> Self {
200 pub fn args(mut self, args: impl IntoIterator<Item = impl Into<Arg>>) -> Self {
330 pub fn group(mut self, group: impl Into<ArgGroup>) -> Self {
358 pub fn groups(mut self, groups: impl IntoIterator<Item = impl Into<ArgGroup>>) -> Self {
387 pub fn subcommand(self, subcmd: impl Into<Command>) -> Self {
417 pub fn subcommands(mut self, subcmds: impl IntoIterator<Item = impl Into<Self>>) -> Self {
576 T: Into<OsString> + Clone,
622 T: Into<OsString> + Clone,
661 T: Into<OsString> + Clone,
1406 pub fn name(mut self, name: impl Into<Str>) -> Self {
1811 F: Into<AppFlags>,
1821 F: Into<AppFlags>,
1983 name: impl Into<Str>,
1984 target: impl IntoIterator<Item = impl Into<Str>>,
1987 .insert(name.into(), target.into_iter().map(Into::into).collect());
2236 pub fn long_flag(mut self, long: impl Into<Str>) -> Self {
2358 pub fn aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2412 pub fn long_flag_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2543 pub fn visible_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2591 names: impl IntoIterator<Item = impl Into<Str>>,
3230 pub fn set_bin_name(&mut self, name: impl Into<String>) {