wasmer/rustdoc/scroll/ctx/trait.TryFromCtx.html

13 lines
101 KiB
HTML
Raw Normal View History

2019-09-06 15:57:44 -07:00
<!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="API documentation for the Rust `TryFromCtx` trait in crate `scroll`."><meta name="keywords" content="rust, rustlang, rust-lang, TryFromCtx"><title>scroll::ctx::TryFromCtx - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../scroll/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait TryFromCtx</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Error">Error</a><a href="#associatedtype.Size">Size</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.try_from_ctx">try_from_ctx</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E-for-%26%27a%20CStr">&amp;&#39;a CStr</a><a href="#impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E-for-CString">CString</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-f32">f32</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-f64">f64</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-i128">i128</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-i16">i16</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-i32">i32</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-i64">i64</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-i8">i8</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u128">u128</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u16">u16</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u32">u32</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u64">u64</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u8">u8</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-usize">usize</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-i128">i128</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-i16">i16</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-i32">i32</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-i64">i64</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-i8">i8</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u128">u128</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u16">u16</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u32">u32</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u64">u64</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u8">u8</a><a href="#impl-TryFromCtx%3C%27a%2C%20StrCtx%2C%20%5Bu8%5D%3E-for-%26%27a%20str">&amp;&#39;a str</a><a href="#impl-TryFromCtx%3C%27a%2C%20StrCtx%2C%20T%3E-for-%26%27a%20str">&amp;&#39;a str</a><a href="#impl-TryFromCtx%3C%27a%2C%20usize%2C%20%5Bu8%5D%3E-for-%26%27a%20%5Bu8%5D">&amp;&#39;a [u8]</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class
type <a href='#associatedtype.Error' class="type">Error</a>;
type <a href='#associatedtype.Size' class="type">Size</a>;
fn <a href='#tymethod.try_from_ctx' class='fnname'>try_from_ctx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a </a>This, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ctx: Ctx<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Size" title="type scroll::ctx::TryFromCtx::Size">Size</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error" title="type scroll::ctx::TryFromCtx::Error">Error</a>&gt;;
}</pre></div><div class='docblock'><p>Tries to read <code>Self</code> from <code>This</code> using the context <code>Ctx</code></p>
</div>
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.Error' class='method'><code id='Error.t'>type <a href='#associatedtype.Error' class="type">Error</a></code></h3><h3 id='associatedtype.Size' class='method'><code id='Size.t'>type <a href='#associatedtype.Size' class="type">Size</a></code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.try_from_ctx' class='method'><code id='try_from_ctx.v'>fn <a href='#tymethod.try_from_ctx' class='fnname'>try_from_ctx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;from: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a </a>This, <br>&nbsp;&nbsp;&nbsp;&nbsp;ctx: Ctx<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Size" title="type scroll::ctx::TryFromCtx::Size">Size</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error" title="type scroll::ctx::TryFromCtx::Error">Error</a>&gt;</code></h3></div><span class='loading-content'>Loading content...</span>
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u8' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../../scroll/ctx/trait.TryFromCtx.html" title="trait scroll::ctx::TryFromCtx">TryFromCtx</a>&lt;'a, <a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>: <a class="trait" href="../../scroll/ctx/trait.FromCtx.html" title="trait scroll::ctx::FromCtx">FromCtx</a>&lt;<a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a>&gt;,&nbsp;</span></code><a href='#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-u8' class='anchor'></a><a class='srclink' href='../../src/scroll/ctx.rs.html#238-249' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../scroll/enum.Error.html" title="enum scroll::Error">Error</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code></h4><h4 id='associatedtype.Size-1' class="type"><code id='Size.t-1'>type <a href='#associatedtype.Size' class="type">Size</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><h4 id='method.try_from_ctx' class="method hidden"><code id='try_from_ctx.v-1'>fn <a href='#method.try_from_ctx' class='fnname'>try_from_ctx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;src: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;le: <a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Size" title="type scroll::ctx::TryFromCtx::Size">Size</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error" title="type scroll::ctx::TryFromCtx::Error">Error</a>&gt;</code><a class='srclink' href='../../src/scroll/ctx.rs.html#242-248' title='goto source code'>[src]</a></h4></div><h3 id='impl-TryFromCtx%3C%27a%2C%20Endian%2C%20T%3E-for-u8' class='impl'><code class='in-band'>impl&lt;'a, T&gt; <a class="trait" href="../../scroll/ctx/trait.TryFromCtx.html" title="trait scroll::ctx::TryFromCtx">TryFromCtx</a>&lt;'a, <a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a>, T&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>: <a class="trait" href="../../scroll/ctx/trait.FromCtx.html" title="trait scroll::ctx::FromCtx">FromCtx</a>&lt;<a class="enum" href="../../scroll/enum.Endian.html" title=
</div></div><h3 id='impl-TryFromCtx%3C%27a%2C%20StrCtx%2C%20T%3E-for-%26%27a%20str' class='impl'><code class='in-band'>impl&lt;'a, T&gt; <a class="trait" href="../../scroll/ctx/trait.TryFromCtx.html" title="trait scroll::ctx::TryFromCtx">TryFromCtx</a>&lt;'a, <a class="enum" href="../../scroll/ctx/enum.StrCtx.html" title="enum scroll::ctx::StrCtx">StrCtx</a>, T&gt; for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt;,&nbsp;</span></code><a href='#impl-TryFromCtx%3C%27a%2C%20StrCtx%2C%20T%3E-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../../src/scroll/ctx.rs.html#419-427' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-24' class="type"><code id='Error.t-24'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../scroll/enum.Error.html" title="enum scroll::Error">Error</a></code></h4><h4 id='associatedtype.Size-24' class="type"><code id='Size.t-24'>type <a href='#associatedtype.Size' class="type">Size</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><h4 id='method.try_from_ctx-23' class="method hidden"><code id='try_from_ctx.v-24'>fn <a href='#method.try_from_ctx' class='fnname'>try_from_ctx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;src: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a </a>T, <br>&nbsp;&nbsp;&nbsp;&nbsp;ctx: <a class="enum" href="../../scroll/ctx/enum.StrCtx.html" title="enum scroll::ctx::StrCtx">StrCtx</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Size" title="type scroll::ctx::TryFromCtx::Size">Size</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error" title="type scroll::ctx::TryFromCtx::Error">Error</a>&gt;</code><a class='srclink' href='../../src/scroll/ctx.rs.html#423-426' title='goto source code'>[src]</a></h4></div><h3 id='impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-usize' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../../scroll/ctx/trait.TryFromCtx.html" title="trait scroll::ctx::TryFromCtx">TryFromCtx</a>&lt;'a, <a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>: <a class="trait" href="../../scroll/ctx/trait.FromCtx.html" title="trait scroll::ctx::FromCtx">FromCtx</a>&lt;<a class="enum" href="../../scroll/enum.Endian.html" title="enum scroll::Endian">Endian</a>&gt;,&nbsp;</span></code><a href='#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E-for-usize' class='anchor'></a><a class='srclink' href='../../src/scroll/ctx.rs.html#505-517' title='goto sour
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E' class='impl'><code class='in-band'>impl&lt;'a&gt; TryFromCtx&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt; for <a class="struct" href="../../scroll/struct.Sleb128.html" title="struct scroll::Sleb128">Sleb128</a></code><a href='#impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E' class='anchor'></a><a class='srclink' href='../../src/scroll/leb128.rs.html#123-157' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-29' class="type"><code id='Error.t-29'>type <a href='#associatedtype.Error-29' class="type">Error</a> = <a class="enum" href="../../scroll/enum.Error.html" title="enum scroll::Error">Error</a></code></h4><h4 id='associatedtype.Size-29' class="type"><code id='Size.t-29'>type <a href='#associatedtype.Size-29' class="type">Size</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><h4 id='method.try_from_ctx-28' class="method hidden"><code id='try_from_ctx.v-29'>fn <a href='#method.try_from_ctx-28' class='fnname'>try_from_ctx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;src: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;_ctx: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>Self, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Size" title="type scroll::ctx::TryFromCtx::Size">Size</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Self::<a class="type" href="../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error" title="type scroll::ctx::TryFromCtx::Error">Error</a>&gt;</code><a class='srclink' href='../../src/scroll/leb128.rs.html#127-156' title='goto source code'>[src]</a></h4></div><h3 id='impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E-1' class='impl'><code class='in-band'>impl&lt;'a&gt; TryFromCtx&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt; for <a class="struct" href="../../scroll/struct.Uleb128.html" title="struct scroll::Uleb128">Uleb128</a></code><a href='#impl-TryFromCtx%3C%27a%2C%20()%2C%20%5Bu8%5D%3E-1' class='anchor'></a><a class='srclink' href='../../src/scroll/leb128.rs.html#94-121' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-30' class="type"><code id='Error.t-30'>type <a href='#associatedtype.Error-30' class="type">Error</a> = <a class="enum" href="../../scroll/enum.Error.html" title="enum scroll::Error">Error</a></code></h4><h4 id='associatedtype.Size-30' class="type"><code id='Size.t-30'>type <a href='#associatedtype.Size-30' class="type">Size</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code></h4><h4 id='method.
src="../../implementors/scroll/ctx/trait.TryFromCtx.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "scroll";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>