mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-28 20:02:16 +00:00
74 lines
44 KiB
HTML
74 lines
44 KiB
HTML
|
<!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 `ParserState` enum in crate `wasmparser`."><meta name="keywords" content="rust, rustlang, rust-lang, ParserState"><title>wasmparser::ParserState - 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 enum"><!--[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">☰</div><a href='../wasmparser/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Enum ParserState</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Error">Error</a><a href="#variant.Initial">Initial</a><a href="#variant.BeginWasm">BeginWasm</a><a href="#variant.EndWasm">EndWasm</a><a href="#variant.BeginSection">BeginSection</a><a href="#variant.EndSection">EndSection</a><a href="#variant.SkippingSection">SkippingSection</a><a href="#variant.ReadingCustomSection">ReadingCustomSection</a><a href="#variant.ReadingSectionRawData">ReadingSectionRawData</a><a href="#variant.SectionRawData">SectionRawData</a><a href="#variant.TypeSectionEntry">TypeSectionEntry</a><a href="#variant.ImportSectionEntry">ImportSectionEntry</a><a href="#variant.FunctionSectionEntry">FunctionSectionEntry</a><a href="#variant.TableSectionEntry">TableSectionEntry</a><a href="#variant.MemorySectionEntry">MemorySectionEntry</a><a href="#variant.ExportSectionEntry">ExportSectionEntry</a><a href="#variant.NameSectionEntry">NameSectionEntry</a><a href="#variant.StartSectionEntry">StartSectionEntry</a><a href="#variant.DataCountSectionEntry">DataCountSectionEntry</a><a href="#variant.BeginInitExpressionBody">BeginInitExpressionBody</a><a href="#variant.InitExpressionOperator">InitExpressionOperator</a><a href="#variant.EndInitExpressionBody">EndInitExpressionBody</a><a href="#variant.BeginFunctionBody">BeginFunctionBody</a><a href="#variant.FunctionBodyLocals">FunctionBodyLocals</a><a href="#variant.CodeOperator">CodeOperator</a><a href="#variant.EndFunctionBody">EndFunctionBody</a><a href="#variant.SkippingFunctionBody">SkippingFunctionBody</a><a href="#variant.BeginPassiveElementSectionEntry">BeginPassiveElementSectionEntry</a><a href="#variant.BeginActiveElementSectionEntry">BeginActiveElementSectionEntry</a><a href="#variant.ElementSectionEntryBody">ElementSectionEntryBody</a><a href="#variant.EndElementSectionEntry">EndElementSectionEntry</a><a href="#variant.BeginPassiveDataSectionEntry">BeginPassiveDataSectionEntry</a><a href="#variant.BeginActiveDataSectionEntry">BeginActiveDataSectionEntry</a><a href="#variant.EndDataSectionEntry">EndDataSectionEntry</a><a href="#variant.BeginDataSectionEntryBody">BeginDataSectionEntryBody</a><a href="#variant.DataSectionEntryBodyChunk">DataSectionEntryBodyChunk</a><a href="#variant.EndDataSectionEntryBody">EndDataSectionEntryBody</a><a href="#variant.BeginGlobalSectionEntry">BeginGlobalSectionEntry</a><a href="#variant.EndGlobalSectionEntry">EndGlobalSectionEntry</a><a href="#variant.RelocSectionHeader">RelocSectionHeader</a><a href="#variant.RelocSectionEntry">RelocSectionEntry</a><a href="#variant.LinkingSectionEntry">LinkingSectionEntry</a><a href="#variant.SourceMappingURL">SourceMappingURL</a></div><a class="sidebar-title" href="#implementati
|
||
|
Error(<a class="struct" href="../wasmparser/struct.BinaryReaderError.html" title="struct wasmparser::BinaryReaderError">BinaryReaderError</a>),
|
||
|
Initial,
|
||
|
BeginWasm {
|
||
|
version: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
|
||
|
},
|
||
|
EndWasm,
|
||
|
BeginSection {
|
||
|
code: <a class="enum" href="../wasmparser/enum.SectionCode.html" title="enum wasmparser::SectionCode">SectionCode</a><'a>,
|
||
|
range: <a class="struct" href="../wasmparser/struct.Range.html" title="struct wasmparser::Range">Range</a>,
|
||
|
},
|
||
|
EndSection,
|
||
|
SkippingSection,
|
||
|
ReadingCustomSection(<a class="enum" href="../wasmparser/enum.CustomSectionKind.html" title="enum wasmparser::CustomSectionKind">CustomSectionKind</a>),
|
||
|
ReadingSectionRawData,
|
||
|
SectionRawData(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'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>),
|
||
|
TypeSectionEntry(<a class="struct" href="../wasmparser/struct.FuncType.html" title="struct wasmparser::FuncType">FuncType</a>),
|
||
|
ImportSectionEntry {
|
||
|
module: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
|
field: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
|
ty: <a class="enum" href="../wasmparser/enum.ImportSectionEntryType.html" title="enum wasmparser::ImportSectionEntryType">ImportSectionEntryType</a>,
|
||
|
},
|
||
|
FunctionSectionEntry(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
TableSectionEntry(<a class="struct" href="../wasmparser/struct.TableType.html" title="struct wasmparser::TableType">TableType</a>),
|
||
|
MemorySectionEntry(<a class="struct" href="../wasmparser/struct.MemoryType.html" title="struct wasmparser::MemoryType">MemoryType</a>),
|
||
|
ExportSectionEntry {
|
||
|
field: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
|
kind: <a class="enum" href="../wasmparser/enum.ExternalKind.html" title="enum wasmparser::ExternalKind">ExternalKind</a>,
|
||
|
index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
|
||
|
},
|
||
|
NameSectionEntry(<a class="enum" href="../wasmparser/enum.NameEntry.html" title="enum wasmparser::NameEntry">NameEntry</a><'a>),
|
||
|
StartSectionEntry(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
DataCountSectionEntry(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
BeginInitExpressionBody,
|
||
|
InitExpressionOperator(<a class="enum" href="../wasmparser/enum.Operator.html" title="enum wasmparser::Operator">Operator</a><'a>),
|
||
|
EndInitExpressionBody,
|
||
|
BeginFunctionBody {
|
||
|
range: <a class="struct" href="../wasmparser/struct.Range.html" title="struct wasmparser::Range">Range</a>,
|
||
|
},
|
||
|
FunctionBodyLocals {
|
||
|
locals: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</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.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../wasmparser/enum.Type.html" title="enum wasmparser::Type">Type</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>>,
|
||
|
},
|
||
|
CodeOperator(<a class="enum" href="../wasmparser/enum.Operator.html" title="enum wasmparser::Operator">Operator</a><'a>),
|
||
|
EndFunctionBody,
|
||
|
SkippingFunctionBody,
|
||
|
BeginPassiveElementSectionEntry(<a class="enum" href="../wasmparser/enum.Type.html" title="enum wasmparser::Type">Type</a>),
|
||
|
BeginActiveElementSectionEntry(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
ElementSectionEntryBody(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</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.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>>),
|
||
|
EndElementSectionEntry,
|
||
|
BeginPassiveDataSectionEntry,
|
||
|
BeginActiveDataSectionEntry(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
EndDataSectionEntry,
|
||
|
BeginDataSectionEntryBody(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
||
|
DataSectionEntryBodyChunk(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'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>),
|
||
|
EndDataSectionEntryBody,
|
||
|
BeginGlobalSectionEntry(<a class="struct" href="../wasmparser/struct.GlobalType.html" title="struct wasmparser::GlobalType">GlobalType</a>),
|
||
|
EndGlobalSectionEntry,
|
||
|
RelocSectionHeader(<a class="enum" href="../wasmparser/enum.SectionCode.html" title="enum wasmparser::SectionCode">SectionCode</a><'a>),
|
||
|
RelocSectionEntry(<a class="struct" href="../wasmparser/struct.RelocEntry.html" title="struct wasmparser::RelocEntry">RelocEntry</a>),
|
||
|
LinkingSectionEntry(<a class="enum" href="../wasmparser/enum.LinkingType.html" title="enum wasmparser::LinkingType">LinkingType</a>),
|
||
|
SourceMappingURL(&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>),
|
||
|
}</pre></div><h2 id='variants' class='variants small-section-header'>
|
||
|
Variants<a href='#variants' class='anchor'></a></h2>
|
||
|
<span id="variant.Error" class="variant small-section-header"><a href="#variant.Error" class="anchor field"></a><code id='Error.v'>Error(<a class="struct" href="../wasmparser/struct.BinaryReaderError.html" title="struct wasmparser::BinaryReaderError">BinaryReaderError</a>)</code></span><span id="variant.Initial" class="variant small-section-header"><a href="#variant.Initial" class="anchor field"></a><code id='Initial.v'>Initial</code></span><span id="variant.BeginWasm" class="variant small-section-header"><a href="#variant.BeginWasm" class="anchor field"></a><code id='BeginWasm.v'>BeginWasm</code></span><span class='autohide sub-variant' id='variant.BeginWasm.fields'><h3>Fields of <b>BeginWasm</b></h3><div><span id="variant.BeginWasm.field.version" class="variant small-section-header"><a href="#variant.BeginWasm.field.version" class="anchor field"></a><code id='BeginWasm.v.version.v'>version: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></div></span><span id="variant.EndWasm" class="variant small-section-header"><a href="#variant.EndWasm" class="anchor field"></a><code id='EndWasm.v'>EndWasm</code></span><span id="variant.BeginSection" class="variant small-section-header"><a href="#variant.BeginSection" class="anchor field"></a><code id='BeginSection.v'>BeginSection</code></span><span class='autohide sub-variant' id='variant.BeginSection.fields'><h3>Fields of <b>BeginSection</b></h3><div><span id="variant.BeginSection.field.code" class="variant small-section-header"><a href="#variant.BeginSection.field.code" class="anchor field"></a><code id='BeginSection.v.code.v'>code: <a class="enum" href="../wasmparser/enum.SectionCode.html" title="enum wasmparser::SectionCode">SectionCode</a><'a></code></span><span id="variant.BeginSection.field.range" class="variant small-section-header"><a href="#variant.BeginSection.field.range" class="anchor field"></a><code id='BeginSection.v.range.v'>range: <a class="struct" href="../wasmparser/struct.Range.html" title="struct wasmparser::Range">Range</a></code></span></div></span><span id="variant.EndSection" class="variant small-section-header"><a href="#variant.EndSection" class="anchor field"></a><code id='EndSection.v'>EndSection</code></span><span id="variant.SkippingSection" class="variant small-section-header"><a href="#variant.SkippingSection" class="anchor field"></a><code id='SkippingSection.v'>SkippingSection</code></span><span id="variant.ReadingCustomSection" class="variant small-section-header"><a href="#variant.ReadingCustomSection" class="anchor field"></a><code id='ReadingCustomSection.v'>ReadingCustomSection(<a class="enum" href="../wasmparser/enum.CustomSectionKind.html" title="enum wasmparser::CustomSectionKind">CustomSectionKind</a>)</code></span><span id="variant.ReadingSectionRawData" class="variant small-section-header"><a href="#variant.ReadingSectionRawData" class="anchor field"></a><code id='ReadingSectionRawData.v'>ReadingSectionRawData</code></span><span id="variant.SectionRawData" class="variant small-section-header"><a href="#variant.SectionRawData" class="anchor field"></a><code id='SectionRawData.v'>SectionRawData(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'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>)</code></span><span id="variant.TypeSectionEntry" class="variant small-section-header"><a href="#variant.TypeSectionEntry" class="anchor field"></a><code id='TypeSectionEntry.v'>TypeSectionEntry(<a class="struct" href="../wasmparser/struct.FuncType.html" title="struct wasmparser::FuncType">FuncType</a>)</code></span><span id="variant.ImportSectionEntry" class="variant small-section-header"><a href="#variant.ImportSectionEntry" class="anchor field"></a><code id='ImportSectionEntry.v'>ImportSectionEntry</code></span><span class='autohide sub-variant' id='variant.ImportSectionEntry.fields'><h3>
|
||
|
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Sync' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../wasmparser/enum.ParserState.html" title="enum wasmparser::ParserState">ParserState</a><'a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../wasmparser/enum.ParserState.html" title="enum wasmparser::ParserState">ParserState</a><'a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../wasmparser/enum.ParserState.html" title="enum wasmparser::ParserState">ParserState</a><'a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../wasmparser/enum.ParserState.html" title="enum wasmparser::ParserState">ParserState</a><'a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../wasmparser/enum.ParserState.html" title="enum wasmparser::ParserState">ParserState</a><'a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#543-548' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#545-547' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#552-554' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#571-577' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
|
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#574-576' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#559-566' 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='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
|
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#563-565' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
|
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
|
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
|
</div></div></div></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>⏎</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 = "wasmparser";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
|