<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.46/dist/katex.min.css"
integrity="sha384-hW6ZmmePRD2f/9cuxGE6C9faGprtIBOme5OLUiEjtRKMTN67tY23ur9eAi21H8De"
crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.46/dist/katex.min.js"
integrity="sha384-FVvsvR4UzyIP8Y5hVvHjOfjVh+LWV78ll63SYx1t+nuuMPGMAihB8dJ2YsYyg1Wb"
crossorigin="anonymous"></script>
<script defer
src="https://cdn.jsdelivr.net/npm/katex@0.16.46/dist/contrib/auto-render.min.js"
integrity="sha384-bjyGPfbij8/NDKJhSGZNP/khQVgtHUE5exjm4Ydllo42FwIgYsdLO2lXGmRBf5Mz"
crossorigin="anonymous" onload="renderMathInElement(document.body, {
delimiters: [
{ left: '$$', right: '$$', display: true },
{ left: '\\(', right: '\\)', display: false },
{ left: '$', right: '$', display: false },
{ left: '\\[', right: '\\]', display: true }
]
});"></script>
<style>
.docblock p:has(.katex) {
overflow: visible !important;
}
</style>
<style>
:root {
--color-note: #008cff;
--color-tip: #28a745;
--color-important: #6f42c1;
--color-caution: #d73a49;
--color-note-background: #e6f4ff;
--color-tip-background: #e6f4ea;
--color-important-background: #f3e8ff;
--color-caution-background: #ffecec;
}
html[data-docs-rs-theme="dark"],
html[data-docs-rs-theme="ayu"] {
--color-note-background: #0b3d66;
--color-tip-background: #0f3d2e;
--color-important-background: #3b2a5a;
--color-caution-background: #5a1f24;
}
.content .docblock .warning.note {
border-left: 2px solid var(--color-note);
}
.content .docblock .warning.note::before {
color: var(--color-note);
}
.content .docblock .warning.tip {
border-left: 2px solid var(--color-tip);
}
.content .docblock .warning.tip::before {
color: var(--color-tip);
}
.content .docblock .warning.important {
border-left: 2px solid var(--color-important);
}
.content .docblock .warning.important::before {
color: var(--color-important);
}
.content .docblock .warning.caution {
border-left: 2px solid var(--color-caution);
}
.content .docblock .warning.caution::before {
color: var(--color-caution);
}
body.rustdoc-page .content .docblock .warning.note,
body.rustdoc-page .content .docblock .warning.tip,
body.rustdoc-page .content .docblock .warning.important,
body.rustdoc-page .content .docblock .warning.caution {
color: var(--color-standard);
}
body.rustdoc-page .content .docblock .warning.note {
background-color: var(--color-note-background);
}
body.rustdoc-page .content .docblock .warning.tip {
background-color: var(--color-tip-background);
}
body.rustdoc-page .content .docblock .warning.important {
background-color: var(--color-important-background);
}
body.rustdoc-page .content .docblock .warning.caution {
background-color: var(--color-caution-background);
}
</style>