wasmer/rustdoc/goblin/mach/load_command/enum.CommandVariant.html

63 lines
50 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 `CommandVariant` enum in crate `goblin`."><meta name="keywords" content="rust, rustlang, rust-lang, CommandVariant"><title>goblin::mach::load_command::CommandVariant - 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">&#9776;</div><a href='../../../goblin/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum CommandVariant</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Segment32">Segment32</a><a href="#variant.Segment64">Segment64</a><a href="#variant.Uuid">Uuid</a><a href="#variant.Symtab">Symtab</a><a href="#variant.Symseg">Symseg</a><a href="#variant.Thread">Thread</a><a href="#variant.Unixthread">Unixthread</a><a href="#variant.LoadFvmlib">LoadFvmlib</a><a href="#variant.IdFvmlib">IdFvmlib</a><a href="#variant.Ident">Ident</a><a href="#variant.Fvmfile">Fvmfile</a><a href="#variant.Prepage">Prepage</a><a href="#variant.Dysymtab">Dysymtab</a><a href="#variant.LoadDylib">LoadDylib</a><a href="#variant.IdDylib">IdDylib</a><a href="#variant.LoadDylinker">LoadDylinker</a><a href="#variant.IdDylinker">IdDylinker</a><a href="#variant.PreboundDylib">PreboundDylib</a><a href="#variant.Routines32">Routines32</a><a href="#variant.Routines64">Routines64</a><a href="#variant.SubFramework">SubFramework</a><a href="#variant.SubUmbrella">SubUmbrella</a><a href="#variant.SubClient">SubClient</a><a href="#variant.SubLibrary">SubLibrary</a><a href="#variant.TwolevelHints">TwolevelHints</a><a href="#variant.PrebindCksum">PrebindCksum</a><a href="#variant.LoadWeakDylib">LoadWeakDylib</a><a href="#variant.Rpath">Rpath</a><a href="#variant.CodeSignature">CodeSignature</a><a href="#variant.SegmentSplitInfo">SegmentSplitInfo</a><a href="#variant.ReexportDylib">ReexportDylib</a><a href="#variant.LazyLoadDylib">LazyLoadDylib</a><a href="#variant.EncryptionInfo32">EncryptionInfo32</a><a href="#variant.EncryptionInfo64">EncryptionInfo64</a><a href="#variant.DyldInfo">DyldInfo</a><a href="#variant.DyldInfoOnly">DyldInfoOnly</a><a href="#variant.LoadUpwardDylib">LoadUpwardDylib</a><a href="#variant.VersionMinMacosx">VersionMinMacosx</a><a href="#variant.VersionMinIphoneos">VersionMinIphoneos</a><a href="#variant.FunctionStarts">FunctionStarts</a><a href="#variant.DyldEnvironment">DyldEnvironment</a><a href="#variant.Main">Main</a><a href="#variant.DataInCode">DataInCode</a><a href="#variant.SourceVersion">SourceVersion</a><a href="#variant.DylibCodeSignDrs">DylibCodeSignDrs</a><a href="#variant.LinkerOption">LinkerOption</a><a href="#variant.LinkerOptimizationHint">LinkerOptimizationHint</a><a href="#variant.Unimplemented">Unimplemented</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.cmd">cmd</a><a href="#method.cmdsize">cmdsize</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E">TryFromCtx&lt;&#39;a, Endian, [u8]&gt;
Segment32(<a class="struct" href="../../../goblin/mach/load_command/struct.SegmentCommand32.html" title="struct goblin::mach::load_command::SegmentCommand32">SegmentCommand32</a>),
Segment64(<a class="struct" href="../../../goblin/mach/load_command/struct.SegmentCommand64.html" title="struct goblin::mach::load_command::SegmentCommand64">SegmentCommand64</a>),
Uuid(<a class="struct" href="../../../goblin/mach/load_command/struct.UuidCommand.html" title="struct goblin::mach::load_command::UuidCommand">UuidCommand</a>),
Symtab(<a class="struct" href="../../../goblin/mach/load_command/struct.SymtabCommand.html" title="struct goblin::mach::load_command::SymtabCommand">SymtabCommand</a>),
Symseg(<a class="struct" href="../../../goblin/mach/load_command/struct.SymsegCommand.html" title="struct goblin::mach::load_command::SymsegCommand">SymsegCommand</a>),
Thread(<a class="struct" href="../../../goblin/mach/load_command/struct.ThreadCommand.html" title="struct goblin::mach::load_command::ThreadCommand">ThreadCommand</a>),
Unixthread(<a class="struct" href="../../../goblin/mach/load_command/struct.ThreadCommand.html" title="struct goblin::mach::load_command::ThreadCommand">ThreadCommand</a>),
LoadFvmlib(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmlibCommand.html" title="struct goblin::mach::load_command::FvmlibCommand">FvmlibCommand</a>),
IdFvmlib(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmlibCommand.html" title="struct goblin::mach::load_command::FvmlibCommand">FvmlibCommand</a>),
Ident(<a class="struct" href="../../../goblin/mach/load_command/struct.IdentCommand.html" title="struct goblin::mach::load_command::IdentCommand">IdentCommand</a>),
Fvmfile(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmfileCommand.html" title="struct goblin::mach::load_command::FvmfileCommand">FvmfileCommand</a>),
Prepage(<a class="struct" href="../../../goblin/mach/load_command/struct.LoadCommandHeader.html" title="struct goblin::mach::load_command::LoadCommandHeader">LoadCommandHeader</a>),
Dysymtab(<a class="struct" href="../../../goblin/mach/load_command/struct.DysymtabCommand.html" title="struct goblin::mach::load_command::DysymtabCommand">DysymtabCommand</a>),
LoadDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
IdDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
LoadDylinker(<a class="struct" href="../../../goblin/mach/load_command/struct.DylinkerCommand.html" title="struct goblin::mach::load_command::DylinkerCommand">DylinkerCommand</a>),
IdDylinker(<a class="struct" href="../../../goblin/mach/load_command/struct.DylinkerCommand.html" title="struct goblin::mach::load_command::DylinkerCommand">DylinkerCommand</a>),
PreboundDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.PreboundDylibCommand.html" title="struct goblin::mach::load_command::PreboundDylibCommand">PreboundDylibCommand</a>),
Routines32(<a class="struct" href="../../../goblin/mach/load_command/struct.RoutinesCommand32.html" title="struct goblin::mach::load_command::RoutinesCommand32">RoutinesCommand32</a>),
Routines64(<a class="struct" href="../../../goblin/mach/load_command/struct.RoutinesCommand64.html" title="struct goblin::mach::load_command::RoutinesCommand64">RoutinesCommand64</a>),
SubFramework(<a class="struct" href="../../../goblin/mach/load_command/struct.SubFrameworkCommand.html" title="struct goblin::mach::load_command::SubFrameworkCommand">SubFrameworkCommand</a>),
SubUmbrella(<a class="struct" href="../../../goblin/mach/load_command/struct.SubUmbrellaCommand.html" title="struct goblin::mach::load_command::SubUmbrellaCommand">SubUmbrellaCommand</a>),
SubClient(<a class="struct" href="../../../goblin/mach/load_command/struct.SubClientCommand.html" title="struct goblin::mach::load_command::SubClientCommand">SubClientCommand</a>),
SubLibrary(<a class="struct" href="../../../goblin/mach/load_command/struct.SubLibraryCommand.html" title="struct goblin::mach::load_command::SubLibraryCommand">SubLibraryCommand</a>),
TwolevelHints(<a class="struct" href="../../../goblin/mach/load_command/struct.TwolevelHintsCommand.html" title="struct goblin::mach::load_command::TwolevelHintsCommand">TwolevelHintsCommand</a>),
PrebindCksum(<a class="struct" href="../../../goblin/mach/load_command/struct.PrebindCksumCommand.html" title="struct goblin::mach::load_command::PrebindCksumCommand">PrebindCksumCommand</a>),
LoadWeakDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
Rpath(<a class="struct" href="../../../goblin/mach/load_command/struct.RpathCommand.html" title="struct goblin::mach::load_command::RpathCommand">RpathCommand</a>),
CodeSignature(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
SegmentSplitInfo(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
ReexportDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
LazyLoadDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
EncryptionInfo32(<a class="struct" href="../../../goblin/mach/load_command/struct.EncryptionInfoCommand32.html" title="struct goblin::mach::load_command::EncryptionInfoCommand32">EncryptionInfoCommand32</a>),
EncryptionInfo64(<a class="struct" href="../../../goblin/mach/load_command/struct.EncryptionInfoCommand64.html" title="struct goblin::mach::load_command::EncryptionInfoCommand64">EncryptionInfoCommand64</a>),
DyldInfo(<a class="struct" href="../../../goblin/mach/load_command/struct.DyldInfoCommand.html" title="struct goblin::mach::load_command::DyldInfoCommand">DyldInfoCommand</a>),
DyldInfoOnly(<a class="struct" href="../../../goblin/mach/load_command/struct.DyldInfoCommand.html" title="struct goblin::mach::load_command::DyldInfoCommand">DyldInfoCommand</a>),
LoadUpwardDylib(<a class="struct" href="../../../goblin/mach/load_command/struct.DylibCommand.html" title="struct goblin::mach::load_command::DylibCommand">DylibCommand</a>),
VersionMinMacosx(<a class="struct" href="../../../goblin/mach/load_command/struct.VersionMinCommand.html" title="struct goblin::mach::load_command::VersionMinCommand">VersionMinCommand</a>),
VersionMinIphoneos(<a class="struct" href="../../../goblin/mach/load_command/struct.VersionMinCommand.html" title="struct goblin::mach::load_command::VersionMinCommand">VersionMinCommand</a>),
FunctionStarts(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
DyldEnvironment(<a class="struct" href="../../../goblin/mach/load_command/struct.DylinkerCommand.html" title="struct goblin::mach::load_command::DylinkerCommand">DylinkerCommand</a>),
Main(<a class="struct" href="../../../goblin/mach/load_command/struct.EntryPointCommand.html" title="struct goblin::mach::load_command::EntryPointCommand">EntryPointCommand</a>),
DataInCode(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
SourceVersion(<a class="struct" href="../../../goblin/mach/load_command/struct.SourceVersionCommand.html" title="struct goblin::mach::load_command::SourceVersionCommand">SourceVersionCommand</a>),
DylibCodeSignDrs(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
LinkerOption(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
LinkerOptimizationHint(<a class="struct" href="../../../goblin/mach/load_command/struct.LinkeditDataCommand.html" title="struct goblin::mach::load_command::LinkeditDataCommand">LinkeditDataCommand</a>),
Unimplemented(<a class="struct" href="../../../goblin/mach/load_command/struct.LoadCommandHeader.html" title="struct goblin::mach::load_command::LoadCommandHeader">LoadCommandHeader</a>),
}</pre></div><div class='docblock'><p>The various load commands as a cast-free variant/enum</p>
</div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
<span id="variant.Segment32" class="variant small-section-header"><a href="#variant.Segment32" class="anchor field"></a><code id='Segment32.v'>Segment32(<a class="struct" href="../../../goblin/mach/load_command/struct.SegmentCommand32.html" title="struct goblin::mach::load_command::SegmentCommand32">SegmentCommand32</a>)</code></span><span id="variant.Segment64" class="variant small-section-header"><a href="#variant.Segment64" class="anchor field"></a><code id='Segment64.v'>Segment64(<a class="struct" href="../../../goblin/mach/load_command/struct.SegmentCommand64.html" title="struct goblin::mach::load_command::SegmentCommand64">SegmentCommand64</a>)</code></span><span id="variant.Uuid" class="variant small-section-header"><a href="#variant.Uuid" class="anchor field"></a><code id='Uuid.v'>Uuid(<a class="struct" href="../../../goblin/mach/load_command/struct.UuidCommand.html" title="struct goblin::mach::load_command::UuidCommand">UuidCommand</a>)</code></span><span id="variant.Symtab" class="variant small-section-header"><a href="#variant.Symtab" class="anchor field"></a><code id='Symtab.v'>Symtab(<a class="struct" href="../../../goblin/mach/load_command/struct.SymtabCommand.html" title="struct goblin::mach::load_command::SymtabCommand">SymtabCommand</a>)</code></span><span id="variant.Symseg" class="variant small-section-header"><a href="#variant.Symseg" class="anchor field"></a><code id='Symseg.v'>Symseg(<a class="struct" href="../../../goblin/mach/load_command/struct.SymsegCommand.html" title="struct goblin::mach::load_command::SymsegCommand">SymsegCommand</a>)</code></span><span id="variant.Thread" class="variant small-section-header"><a href="#variant.Thread" class="anchor field"></a><code id='Thread.v'>Thread(<a class="struct" href="../../../goblin/mach/load_command/struct.ThreadCommand.html" title="struct goblin::mach::load_command::ThreadCommand">ThreadCommand</a>)</code></span><span id="variant.Unixthread" class="variant small-section-header"><a href="#variant.Unixthread" class="anchor field"></a><code id='Unixthread.v'>Unixthread(<a class="struct" href="../../../goblin/mach/load_command/struct.ThreadCommand.html" title="struct goblin::mach::load_command::ThreadCommand">ThreadCommand</a>)</code></span><span id="variant.LoadFvmlib" class="variant small-section-header"><a href="#variant.LoadFvmlib" class="anchor field"></a><code id='LoadFvmlib.v'>LoadFvmlib(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmlibCommand.html" title="struct goblin::mach::load_command::FvmlibCommand">FvmlibCommand</a>)</code></span><span id="variant.IdFvmlib" class="variant small-section-header"><a href="#variant.IdFvmlib" class="anchor field"></a><code id='IdFvmlib.v'>IdFvmlib(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmlibCommand.html" title="struct goblin::mach::load_command::FvmlibCommand">FvmlibCommand</a>)</code></span><span id="variant.Ident" class="variant small-section-header"><a href="#variant.Ident" class="anchor field"></a><code id='Ident.v'>Ident(<a class="struct" href="../../../goblin/mach/load_command/struct.IdentCommand.html" title="struct goblin::mach::load_command::IdentCommand">IdentCommand</a>)</code></span><span id="variant.Fvmfile" class="variant small-section-header"><a href="#variant.Fvmfile" class="anchor field"></a><code id='Fvmfile.v'>Fvmfile(<a class="struct" href="../../../goblin/mach/load_command/struct.FvmfileCommand.html" title="struct goblin::mach::load_command::FvmfileCommand">FvmfileCommand</a>)</code></span><span id="variant.Prepage" class="variant small-section-header"><a href="#variant.Prepage" class="anchor field"></a><code id='Prepage.v'>Prepage(<a class="struct" href="../../../goblin/mach/load_command/struct.LoadCommandHeader.html" title="struct goblin::mach::load_command::LoadCommandHeader">LoadCommandHeader</a>)</code></span><span id="variant.Dysymtab" class="variant small-section-header"><a href="#variant.Dysymtab" class="anchor field"></a><code id='Dysymtab.v'>Dysymtab(<a class="struct" href="../../../goblin/mach/load_command/struct.DysymtabCommand.h
</div></div><h3 id='impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E' 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="../../../goblin/container/enum.Endian.html" title="enum goblin::container::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="enum" href="../../../goblin/mach/load_command/enum.CommandVariant.html" title="enum goblin::mach::load_command::CommandVariant">CommandVariant</a></code><a href='#impl-TryFromCtx%3C%27a%2C%20Endian%2C%20%5Bu8%5D%3E' class='anchor'></a><a class='srclink' href='../../../src/goblin/mach/load_command.rs.html#1325-1385' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='../../../scroll/ctx/trait.TryFromCtx.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../../goblin/error/enum.Error.html" title="enum goblin::error::Error">Error</a></code></h4><h4 id='associatedtype.Size' class="type"><code id='Size.t'>type <a href='../../../scroll/ctx/trait.TryFromCtx.html#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'>fn <a href='../../../scroll/ctx/trait.TryFromCtx.html#tymethod.try_from_ctx' class='fnname'>try_from_ctx</a>(bytes: <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>, le: <a class="enum" href="../../../goblin/container/enum.Endian.html" title="enum goblin::container::Endian">Endian</a>) -&gt; <a class="type" href="../../../goblin/error/type.Result.html" title="type goblin::error::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>&gt;</code><a class='srclink' href='../../../src/goblin/mach/load_command.rs.html#1328-1384' title='goto source code'>[src]</a></h4></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 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="../../../goblin/mach/load_command/enum.CommandVariant.html" title="enum goblin::mach::load_command::CommandVariant">CommandVariant</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 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="../../../goblin/mach/load_command/enum.CommandVariant.html" title="enum goblin::mach::load_command::CommandVariant">CommandVariant</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 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="../../../goblin/mach/load_command/enum.CommandVa
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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) -&gt; 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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</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-1' class="type"><code id='Error.t-1'>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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</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-2' class="type"><code id='Error.t-2'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</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&lt;T&gt; <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>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</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>(&amp;self) -&gt; <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>&#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 = "goblin";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>