/third_party/rust/crates/clap/src/builder/ |
H A 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>, 843 F: Into<ArgFlags>, 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<OsSt 2865 impl Into<Id>, default_value_ifs() impls 2866 impl Into<ArgPredicate>, default_value_ifs() impls 2887 impl Into<Id>, default_value_ifs_os() impls 2888 impl Into<ArgPredicate>, default_value_ifs_os() impls [all...] |
H A 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()
|
H A 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 {
|
H A 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<OsStrin in try_get_matches_from_mut() [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A 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>>, in pselect() 267 R: Into<Option<&'a mut FdSet>>, in pselect() 268 W: Into<Option<&'a mut FdSet>>, in pselect() 269 E: Into<Option<&'a mut FdSet>>, in pselect() 270 T: Into<Optio in pselect() [all...] |
/third_party/rust/crates/io-lifetimes/src/ |
H A D | portability.rs | 260 /// This is a portability abstraction over Unix-like [`Into<OwnedFd>`] and Windows' in as_socketlike() 261 /// `Into<OwnedHandle>`. in as_socketlike() 263 pub trait IntoFilelike: Into<OwnedFd> { in as_socketlike() 281 impl<T: Into<OwnedFd>> IntoFilelike for T { 291 /// This is a portability abstraction over Unix-like `Into<OwnedFd>` and Windows' 292 /// [`Into<OwnedHandle>`]. 294 pub trait IntoFilelike: Into<OwnedHandle> { 300 impl<T: Into<OwnedHandle>> IntoFilelike for T { 310 /// This is a portability abstraction over Unix-like [`Into<OwnedFd>`] and Windows' 311 /// `Into<OwnedSocke [all...] |
H A D | traits.rs | 69 note = "`IntoFd` is replaced by `From<...> for OwnedFd` or `Into<OwnedFd>`" in as_socket() 93 note = "`IntoHandle` is replaced by `From<...> for OwnedHandle` or `Into<OwnedHandle>`" 117 note = "`IntoSocket` is replaced by `From<...> for OwnedSocket` or `Into<OwnedSocket>`" 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/codespan/codespan-reporting/src/ |
H A 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/ |
H A 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/codespan/codespan/src/ |
H A 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()
|
H A D | location.rs | 18 pub fn new(line: impl Into<LineIndex>, column: impl Into<ColumnIndex>) -> Location { in new()
|
H A D | span.rs | 17 pub fn new(start: impl Into<ByteIndex>, end: impl Into<ByteIndex>) -> Span { in new() 133 I: Into<ByteIndex>, in fmt()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
H A 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/env_logger/src/ |
H A 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<Co in write_style_or() [all...] |
/third_party/rust/crates/clap/src/ |
H A 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/bindgen/bindgen/ir/analysis/ |
H A D | has_vtable.rs | 92 fn insert<Id: Into<ItemId>>( in insert() 120 Id1: Into<ItemId>, in forward() 121 Id2: Into<ItemId>, in forward()
|
/third_party/rust/crates/bindgen/bindgen/ |
H A 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 { in raw_line() 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 in module_raw_lines() [all...] |
/third_party/rust/crates/clap/clap_lex/src/ |
H A D | lib.rs | 49 //! raw: impl IntoIterator<Item=impl Into<std::ffi::OsString>> 159 pub fn new(iter: impl IntoIterator<Item = impl Into<std::ffi::OsString>>) -> Self { in new() 237 insert_items: impl IntoIterator<Item = impl Into<OsString>>, in insert() 241 insert_items.into_iter().map(Into::into), in insert() 254 T: Into<OsString>,
|
/third_party/rust/crates/nix/src/sys/ptrace/ |
H A D | bsd.rs | 102 pub fn detach<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in detach() 116 pub fn cont<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in cont() 167 pub fn step<T: Into<Option<Signal>>>(pid: Pid, sig: T) -> Result<()> { in step()
|
H A 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/os_str_bytes/src/ |
H A 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]>>; in assert_from_raw_bytes() 430 S: Into<Cow<'a, [u8]>>, in to_raw_bytes() 438 S: Into<Cow<'a, [u8]>>, in to_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/humantime/src/ |
H A D | wrapper.rs | 58 impl Into<StdDuration> for Duration { 88 impl Into<SystemTime> for Timestamp {
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | flexible-apis.rs | 54 fn consume_fd_b<Fd: Into<OwnedFd>>(fd: Fd) { in consume_fd_b() 60 fn consume_fd_c(fd: impl Into<OwnedFd>) { in consume_fd_c() 91 // Another option can take any `Into<OwnedFd>` type directly. in main() 94 // The other option can take any `Into<OwnedFd>` type directly. in main()
|
/third_party/rust/crates/quote/src/ |
H A D | ext.rs | 14 U: Into<TokenTree>; in append() 62 U: Into<TokenTree>, in append()
|
/third_party/rust/crates/rustix/src/io/ |
H A D | context.rs | 112 pub struct Owning<'context, T: Into<OwnedFd> + From<OwnedFd>> { in release() 117 impl<'context, T: Into<OwnedFd> + From<OwnedFd>> Owning<'context, T> { in release() 129 impl<'context, T: AsFd + Into<OwnedFd> + From<OwnedFd>> Context for Owning<'context, T> { 138 // kernel epoll object. We use `Into<OwnedFd>`+`IntoRawFd` to consume in acquire()
|