/third_party/rust/crates/clap/src/builder/ |
D | arg.rs | 107 pub fn new(id: impl Into<Id>) -> Self { in new() 115 pub fn id(mut self, id: impl Into<Id>) -> Self { in id() 292 pub fn aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in aliases() 406 pub fn visible_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in visible_aliases() 833 F: Into<ArgFlags>, in setting() 843 F: Into<ArgFlags>, in unset_setting() 1219 pub fn value_names(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in value_names() 1662 pub fn default_value_os(self, val: impl Into<OsStr>) -> Self { in default_value_os() 1673 pub fn default_values(mut self, vals: impl IntoIterator<Item = impl Into<OsStr>>) -> Self { in default_values() 1685 pub fn default_values_os(self, vals: impl IntoIterator<Item = impl Into<OsStr>>) -> Self { in default_values_os() [all …]
|
D | styled_str.rs | 34 pub(crate) fn header(&mut self, msg: impl Into<String>) { in header() 38 pub(crate) fn literal(&mut self, msg: impl Into<String>) { in literal() 42 pub(crate) fn placeholder(&mut self, msg: impl Into<String>) { in placeholder() 47 pub(crate) fn good(&mut self, msg: impl Into<String>) { in good() 52 pub(crate) fn warning(&mut self, msg: impl Into<String>) { in warning() 56 pub(crate) fn error(&mut self, msg: impl Into<String>) { in error() 61 pub(crate) fn hint(&mut self, msg: impl Into<String>) { in hint() 65 pub(crate) fn none(&mut self, msg: impl Into<String>) { in none() 69 pub(crate) fn stylize(&mut self, style: impl Into<Option<Style>>, msg: impl Into<String>) { in stylize() 191 other: impl IntoIterator<Item = (impl Into<Option<Style>>, impl Into<String>)>, in extend()
|
D | resettable.rs | 171 impl<I: Into<ValueRange>> IntoResettable<ValueRange> for I { 177 impl<I: Into<ValueParser>> IntoResettable<ValueParser> for I { 183 impl<I: Into<String>> IntoResettable<String> for I { 189 impl<I: Into<StyledStr>> IntoResettable<StyledStr> for I { 195 impl<I: Into<OsStr>> IntoResettable<OsStr> for I { 201 impl<I: Into<Str>> IntoResettable<Str> for I { 207 impl<I: Into<crate::Id>> IntoResettable<crate::Id> for I {
|
D | arg_group.rs | 109 pub fn new(id: impl Into<Id>) -> Self { in new() 123 pub fn id(mut self, id: impl Into<Id>) -> Self { in id() 184 pub fn args(mut self, ns: impl IntoIterator<Item = impl Into<Id>>) -> Self { in args() 403 pub fn requires_all(mut self, ns: impl IntoIterator<Item = impl Into<Id>>) -> Self { in requires_all() 489 pub fn conflicts_with_all(mut self, ns: impl IntoIterator<Item = impl Into<Id>>) -> Self { in conflicts_with_all()
|
D | possible_value.rs | 60 pub fn new(name: impl Into<Str>) -> Self { in new() 139 pub fn aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in aliases() 230 impl<S: Into<Str>> From<S> for PossibleValue {
|
D | command.rs | 128 pub fn new(name: impl Into<Str>) -> Self { in new() 165 pub fn arg(mut self, a: impl Into<Arg>) -> Self { in arg() 200 pub fn args(mut self, args: impl IntoIterator<Item = impl Into<Arg>>) -> Self { in args() 330 pub fn group(mut self, group: impl Into<ArgGroup>) -> Self { in group() 358 pub fn groups(mut self, groups: impl IntoIterator<Item = impl Into<ArgGroup>>) -> Self { in groups() 387 pub fn subcommand(self, subcmd: impl Into<Command>) -> Self { in subcommand() 417 pub fn subcommands(mut self, subcmds: impl IntoIterator<Item = impl Into<Self>>) -> Self { in subcommands() 576 T: Into<OsString> + Clone, in get_matches_from() 622 T: Into<OsString> + Clone, in try_get_matches_from() 661 T: Into<OsString> + Clone, in try_get_matches_from_mut() [all …]
|
/third_party/rust/crates/env_logger/src/ |
D | lib.rs | 445 E: Into<Env<'a>>, in from_env() 490 E: Into<Env<'a>>, in parse_env() 864 E: Into<Env<'a>>, in from_env() 982 E: Into<Cow<'a, str>>, in filter() 994 E: Into<Cow<'a, str>>, in filter_or() 995 V: Into<Cow<'a, str>>, in filter_or() 1007 V: Into<Cow<'a, str>>, in default_filter_or() 1021 E: Into<Cow<'a, str>>, in write_style() 1033 E: Into<Cow<'a, str>>, in write_style_or() 1034 V: Into<Cow<'a, str>>, in write_style_or() [all …]
|
/third_party/rust/crates/io-lifetimes/src/ |
D | portability.rs | 263 pub trait IntoFilelike: Into<OwnedFd> { 281 impl<T: Into<OwnedFd>> IntoFilelike for T { 294 pub trait IntoFilelike: Into<OwnedHandle> { 300 impl<T: Into<OwnedHandle>> IntoFilelike for T { 313 pub trait IntoSocketlike: Into<OwnedFd> { 319 impl<T: Into<OwnedFd>> IntoSocketlike for T { 332 pub trait IntoSocketlike: Into<OwnedSocket> { 350 impl<T: Into<OwnedSocket>> IntoSocketlike for T {
|
D | traits.rs | 163 fn from_into_fd<Owned: Into<OwnedFd>>(into_owned: Owned) -> Self in from_into_fd() 209 fn from_into_handle<Owned: Into<OwnedHandle>>(into_owned: Owned) -> Self in from_into_handle() 230 fn from_into_socket<Owned: Into<OwnedSocket>>(into_owned: Owned) -> Self in from_into_socket()
|
/third_party/rust/crates/os_str_bytes/src/ |
D | lib.rs | 315 S: Into<Cow<'a, [u8]>>, in from_raw_bytes() 365 S: Into<Cow<'a, [u8]>>; in assert_from_raw_bytes() 402 S: Into<Cow<'a, [u8]>>; 430 S: Into<Cow<'a, [u8]>>, in assert_from_raw_bytes() 438 S: Into<Cow<'a, [u8]>>, in from_raw_bytes() 453 S: Into<Cow<'a, [u8]>>, in assert_from_raw_bytes() 461 S: Into<Cow<'a, [u8]>>, in from_raw_bytes() 589 OsString::from_raw_vec(string).map(Into::into) in from_raw_vec()
|
/third_party/rust/crates/nix/src/sys/ |
D | select.rs | 184 N: Into<Option<c_int>>, in select() 185 R: Into<Option<&'a mut FdSet>>, in select() 186 W: Into<Option<&'a mut FdSet>>, in select() 187 E: Into<Option<&'a mut FdSet>>, in select() 188 T: Into<Option<&'a mut TimeVal>>, in select() 266 N: Into<Option<c_int>>, 267 R: Into<Option<&'a mut FdSet>>, 268 W: Into<Option<&'a mut FdSet>>, 269 E: Into<Option<&'a mut FdSet>>, 270 T: Into<Option<&'a TimeSpec>>, [all …]
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
D | diagnostic.rs | 82 range: impl Into<Range<usize>>, in new() 95 pub fn primary(file_id: FileId, range: impl Into<Range<usize>>) -> Label<FileId> { in primary() 102 pub fn secondary(file_id: FileId, range: impl Into<Range<usize>>) -> Label<FileId> { in secondary() 107 pub fn with_message(mut self, message: impl Into<String>) -> Label<FileId> { in with_message() 187 pub fn with_code(mut self, code: impl Into<String>) -> Diagnostic<FileId> { in with_code() 193 pub fn with_message(mut self, message: impl Into<String>) -> Diagnostic<FileId> { in with_message()
|
/third_party/rust/crates/clap/clap_complete/src/generator/ |
D | mod.rs | 173 S: Into<String>, in generate_to() 174 T: Into<OsString>, in generate_to() 226 S: Into<String>, in generate() 235 S: Into<String>, in _generate()
|
/third_party/rust/crates/clap/src/ |
D | derive.rs | 105 T: Into<OsString> + Clone, in parse_from() 124 T: Into<OsString> + Clone, in try_parse_from() 134 T: Into<OsString> + Clone, in update_from() 150 T: Into<OsString> + Clone, in try_update_from() 409 It: Into<OsString> + Clone, in parse_from() 417 It: Into<OsString> + Clone, in try_parse_from()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
D | epoll.rs | 240 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsRawFd for Epoll<Owning<'context, T>> { 247 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> IntoRawFd for Epoll<Owning<'context, T>> { 254 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> FromRawFd for Epoll<Owning<'context, T>> { 264 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsFd for Epoll<Owning<'context, T>> { 271 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<Epoll<Owning<'context, T>>> 280 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<OwnedFd>
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | epoll.rs | 249 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsRawFd for Epoll<Owning<'context, T>> { 256 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> IntoRawFd for Epoll<Owning<'context, T>> { 263 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> FromRawFd for Epoll<Owning<'context, T>> { 273 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> AsFd for Epoll<Owning<'context, T>> { 280 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<Epoll<Owning<'context, T>>> 289 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> From<OwnedFd>
|
/third_party/rust/crates/clap/clap_mangen/src/ |
D | lib.rs | 50 pub fn title(mut self, title: impl Into<String>) -> Self { in title() 67 pub fn section(mut self, section: impl Into<String>) -> Self { in section() 75 pub fn date(mut self, date: impl Into<String>) -> Self { in date() 83 pub fn source(mut self, source: impl Into<String>) -> Self { in source() 89 pub fn manual(mut self, manual: impl Into<String>) -> Self { in manual()
|
/third_party/rust/crates/bindgen/bindgen/ |
D | lib.rs | 722 pub fn header<T: Into<String>>(mut self, header: T) -> Builder { in header() 728 pub fn depfile<H: Into<String>, D: Into<PathBuf>>( in depfile() 787 pub fn emit_ir_graphviz<T: Into<String>>(mut self, path: T) -> Builder { in emit_ir_graphviz() 1171 pub fn raw_line<T: Into<String>>(mut self, arg: T) -> Self { 1180 T: Into<String>, in module_raw_line() 1181 U: Into<String>, in module_raw_line() 1194 T: Into<String>, in module_raw_lines() 1196 I::Item: Into<String>, in module_raw_lines() 1202 .extend(lines.into_iter().map(Into::into)); in module_raw_lines() 1207 pub fn clang_arg<T: Into<String>>(mut self, arg: T) -> Builder { in clang_arg() [all …]
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | context.rs | 66 T: Copy + Into<ItemId> 204 T: Copy + Into<ItemId>, 214 T: Copy + Into<ItemId>, 223 T: Copy + Into<ItemId>, 232 T: Copy + Into<ItemId>, 241 T: Copy + Into<ItemId>, 250 T: Copy + Into<ItemId>, 261 T: Copy + Into<ItemId>, 272 T: Copy + Into<ItemId>, 284 T: Copy + Into<ItemId>, [all …]
|
/third_party/rust/crates/codespan/codespan/src/ |
D | location.rs | 18 pub fn new(line: impl Into<LineIndex>, column: impl Into<ColumnIndex>) -> Location { in new()
|
D | file.rs | 64 pub fn add(&mut self, name: impl Into<OsString>, source: Source) -> FileId { in add() 131 line_index: impl Into<LineIndex>, in line_span() 150 pub fn line_index(&self, file_id: FileId, byte_index: impl Into<ByteIndex>) -> LineIndex { in line_index() 171 byte_index: impl Into<ByteIndex>, in location() 219 pub fn source_slice(&self, file_id: FileId, span: impl Into<Span>) -> Result<&str, Error> { in source_slice()
|
/third_party/rust/crates/nix/src/sys/ptrace/ |
D | linux.rs | 338 pub fn syscall<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in syscall() 359 pub fn sysemu<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in sysemu() 407 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach() 422 pub fn cont<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in cont() 488 pub fn step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in step() 510 pub fn sysemu_step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in sysemu_step()
|
/third_party/rust/crates/rustix/src/io/ |
D | context.rs | 112 pub struct Owning<'context, T: Into<OwnedFd> + From<OwnedFd>> { 117 impl<'context, T: Into<OwnedFd> + From<OwnedFd>> Owning<'context, T> { 129 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> Context for Owning<'context, T> {
|
/third_party/rust/crates/nix/src/ |
D | pty.rs | 250 T: Into<Option<&'a Winsize>>, in openpty() 251 U: Into<Option<&'b Termios>>, in openpty() 338 pub unsafe fn forkpty<'a, 'b, T: Into<Option<&'a Winsize>>, U: Into<Option<&'b Termios>>>(
|
/third_party/rust/crates/clap/tests/builder/ |
D | propagate_globals.rs | 39 fn top_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in top_can_access_arg() 43 fn inner_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in inner_can_access_arg() 50 fn outer_can_access_arg<T: Into<Option<&'static str>>>(m: &ArgMatches, val: T) -> bool { in outer_can_access_arg()
|