rust-analyzer/stdx/index.html
github-merge-queue[bot] 932249da7b deploy: db0420c278
2025-09-11 05:23:27 +00:00

5 lines
No EOL
8.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Missing batteries for standard libraries."><title>stdx - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-84e720fa.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="stdx" data-themes="" data-resource-suffix="" data-rustdoc-version="1.89.0 (29483883e 2025-08-04)" data-channel="1.89.0" data-search-js="search-92309212.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-fd3af306.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../stdx/index.html">stdx</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#reexports">Crate Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>stdx</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/stdx/lib.rs.html#1-346">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Missing batteries for standard libraries.</p>
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.itertools"><code>pub use itertools;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="anymap/index.html" title="mod stdx::anymap">anymap</a></dt><dd>This file is a port of only the necessary features from <a href="https://github.com/chris-morgan/anymap">https://github.com/chris-morgan/anymap</a> version 1.0.0-beta.2 for use within rust-analyzer.</dd><dt><a class="mod" href="assert/index.html" title="mod stdx::assert">assert</a></dt><dd>Recoverable assertions, inspired by <a href="https://www.sqlite.org/assert.html">the use of <code>assert()</code> in
SQLite</a>.</dd><dt><a class="mod" href="non_empty_vec/index.html" title="mod stdx::non_empty_vec">non_<wbr>empty_<wbr>vec</a></dt><dd>See <a href="non_empty_vec/struct.NonEmptyVec.html" title="struct stdx::non_empty_vec::NonEmptyVec"><code>NonEmptyVec</code></a>.</dd><dt><a class="mod" href="panic_context/index.html" title="mod stdx::panic_context">panic_<wbr>context</a></dt><dd>A micro-crate to enhance panic messages with context info.</dd><dt><a class="mod" href="process/index.html" title="mod stdx::process">process</a></dt><dd>Read both stdout and stderr of child without deadlocks.</dd><dt><a class="mod" href="rand/index.html" title="mod stdx::rand">rand</a></dt><dd>We dont use <code>rand</code> because that is too many things for us.</dd><dt><a class="mod" href="thread/index.html" title="mod stdx::thread">thread</a></dt><dd>A utility module for working with threads that automatically joins threads upon drop
and abstracts over operating system quality of service (<code>QoS</code>) APIs
through the concept of a “thread intent”.</dd><dt><a class="mod" href="variance/index.html" title="mod stdx::variance">variance</a></dt><dd>This is a copy of <a href="https://doc.rust-lang.org/1.89.0/core/marker/variance/fn.variance.html" title="fn core::marker::variance::variance"><code>std::marker::variance</code></a>.</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.always.html" title="macro stdx::always">always</a></dt><dd>Asserts that the condition is always true and returns its actual value.</dd><dt><a class="macro" href="macro.format_to.html" title="macro stdx::format_to">format_<wbr>to</a></dt><dd>Appends formatted string to a <code>String</code>.</dd><dt><a class="macro" href="macro.format_to_acc.html" title="macro stdx::format_to_acc">format_<wbr>to_<wbr>acc</a></dt><dd>Appends formatted string to a <code>String</code> and returns the <code>String</code>.</dd><dt><a class="macro" href="macro.impl_from.html" title="macro stdx::impl_from">impl_<wbr>from</a></dt><dd>Generates <code>From</code> impls for <code>Enum E { Foo(Foo), Bar(Bar) }</code> enums</dd><dt><a class="macro" href="macro.never.html" title="macro stdx::never">never</a></dt><dd>Asserts that the condition is never true and returns its actual value.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.JodChild.html" title="struct stdx::JodChild">JodChild</a></dt><dd>A <a href="https://doc.rust-lang.org/1.89.0/std/process/struct.Child.html" title="struct std::process::Child"><code>std::process::Child</code></a> wrapper that will kill the child on drop.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.TupleExt.html" title="trait stdx::TupleExt">Tuple<wbr>Ext</a></dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.char_has_case.html" title="fn stdx::char_has_case">char_<wbr>has_<wbr>case</a></dt><dt><a class="fn" href="fn.defer.html" title="fn stdx::defer">defer</a></dt><dt><a class="fn" href="fn.equal_range_by.html" title="fn stdx::equal_range_by">equal_<wbr>range_<wbr>by</a></dt><dt><a class="fn" href="fn.hash_once.html" title="fn stdx::hash_once">hash_<wbr>once</a></dt><dt><a class="fn" href="fn.is_ci.html" title="fn stdx::is_ci">is_ci</a></dt><dt><a class="fn" href="fn.is_upper_snake_case.html" title="fn stdx::is_upper_snake_case">is_<wbr>upper_<wbr>snake_<wbr>case</a></dt><dt><a class="fn" href="fn.iter_eq_by.html" title="fn stdx::iter_eq_by">iter_<wbr>eq_<wbr>by</a></dt><dt><a class="fn" href="fn.print_backtrace.html" title="fn stdx::print_backtrace">print_<wbr>backtrace</a></dt><dd>Prints backtrace to stderr, useful for debugging.</dd><dt><a class="fn" href="fn.replace.html" title="fn stdx::replace">replace</a></dt><dt><a class="fn" href="fn.slice_tails.html" title="fn stdx::slice_tails">slice_<wbr>tails</a></dt><dd>Returns all final segments of the argument, longest first.</dd><dt><a class="fn" href="fn.timeit.html" title="fn stdx::timeit">timeit</a></dt><dt><a class="fn" href="fn.to_camel_case.html" title="fn stdx::to_camel_case">to_<wbr>camel_<wbr>case</a></dt><dt><a class="fn" href="fn.to_lower_snake_case.html" title="fn stdx::to_lower_snake_case">to_<wbr>lower_<wbr>snake_<wbr>case</a></dt><dt><a class="fn" href="fn.to_upper_snake_case.html" title="fn stdx::to_upper_snake_case">to_<wbr>upper_<wbr>snake_<wbr>case</a></dt><dt><a class="fn" href="fn.trim_indent.html" title="fn stdx::trim_indent">trim_<wbr>indent</a></dt></dl></section></div></main></body></html>