Lines Matching refs:AsRef
115 pub fn value_of<S: AsRef<str>>(&self, name: S) -> Option<&str> { in value_of()
147 pub fn value_of_lossy<S: AsRef<str>>(&'a self, name: S) -> Option<Cow<'a, str>> { in value_of_lossy()
183 pub fn value_of_os<S: AsRef<str>>(&self, name: S) -> Option<&OsStr> { in value_of_os()
214 pub fn values_of<S: AsRef<str>>(&'a self, name: S) -> Option<Values<'a>> { in values_of()
251 pub fn values_of_lossy<S: AsRef<str>>(&'a self, name: S) -> Option<Vec<String>> { in values_of_lossy()
294 pub fn values_of_os<S: AsRef<str>>(&'a self, name: S) -> Option<OsValues<'a>> { in values_of_os()
322 pub fn is_present<S: AsRef<str>>(&self, name: S) -> bool { in is_present()
370 pub fn occurrences_of<S: AsRef<str>>(&self, name: S) -> u64 { in occurrences_of()
504 pub fn index_of<S: AsRef<str>>(&self, name: S) -> Option<usize> { in index_of()
586 pub fn indices_of<S: AsRef<str>>(&'a self, name: S) -> Option<Indices<'a>> { in indices_of()
630 pub fn subcommand_matches<S: AsRef<str>>(&self, name: S) -> Option<&ArgMatches<'a>> { in subcommand_matches()