mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-11 20:58:54 +00:00
327 lines
No EOL
93 KiB
HTML
327 lines
No EOL
93 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="A representation of all the valid language items in Rust."><title>LangItem in hir - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="hir" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.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 enum"><!--[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="../hir/index.html">hir</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Lang<wbr>Item</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Add" title="Add">Add</a></li><li><a href="#variant.AddAssign" title="AddAssign">AddAssign</a></li><li><a href="#variant.AlignOffset" title="AlignOffset">AlignOffset</a></li><li><a href="#variant.AllocLayout" title="AllocLayout">AllocLayout</a></li><li><a href="#variant.AsyncFn" title="AsyncFn">AsyncFn</a></li><li><a href="#variant.AsyncFnMut" title="AsyncFnMut">AsyncFnMut</a></li><li><a href="#variant.AsyncFnOnce" title="AsyncFnOnce">AsyncFnOnce</a></li><li><a href="#variant.BeginPanic" title="BeginPanic">BeginPanic</a></li><li><a href="#variant.BitAnd" title="BitAnd">BitAnd</a></li><li><a href="#variant.BitAndAssign" title="BitAndAssign">BitAndAssign</a></li><li><a href="#variant.BitOr" title="BitOr">BitOr</a></li><li><a href="#variant.BitOrAssign" title="BitOrAssign">BitOrAssign</a></li><li><a href="#variant.BitXor" title="BitXor">BitXor</a></li><li><a href="#variant.BitXorAssign" title="BitXorAssign">BitXorAssign</a></li><li><a href="#variant.BoxFree" title="BoxFree">BoxFree</a></li><li><a href="#variant.CStr" title="CStr">CStr</a></li><li><a href="#variant.CVoid" title="CVoid">CVoid</a></li><li><a href="#variant.Clone" title="Clone">Clone</a></li><li><a href="#variant.CoerceUnsized" title="CoerceUnsized">CoerceUnsized</a></li><li><a href="#variant.ConstPanicFmt" title="ConstPanicFmt">ConstPanicFmt</a></li><li><a href="#variant.ConstParamTy" title="ConstParamTy">ConstParamTy</a></li><li><a href="#variant.Context" title="Context">Context</a></li><li><a href="#variant.ControlFlowBreak" title="ControlFlowBreak">ControlFlowBreak</a></li><li><a href="#variant.ControlFlowContinue" title="ControlFlowContinue">ControlFlowContinue</a></li><li><a href="#variant.Copy" title="Copy">Copy</a></li><li><a href="#variant.Coroutine" title="Coroutine">Coroutine</a></li><li><a href="#variant.CoroutineState" title="CoroutineState">CoroutineState</a></li><li><a href="#variant.Deref" title="Deref">Deref</a></li><li><a href="#variant.DerefMut" title="DerefMut">DerefMut</a></li><li><a href="#variant.DerefTarget" title="DerefTarget">DerefTarget</a></li><li><a href="#variant.Destruct" title="Destruct">Destruct</a></li><li><a href="#variant.Discriminant" title="Discriminant">Discriminant</a></li><li><a href="#variant.DiscriminantKind" title="DiscriminantKind">DiscriminantKind</a></li><li><a href="#variant.DispatchFromDyn" title="DispatchFromDyn">DispatchFromDyn</a></li><li><a href="#variant.Div" title="Div">Div</a></li><li><a href="#variant.DivAssign" title="DivAssign">DivAssign</a></li><li><a href="#variant.Drop" title="Drop">Drop</a></li><li><a href="#variant.DropInPlace" title="DropInPlace">DropInPlace</a></li><li><a href="#variant.DynMetadata" title="DynMetadata">DynMetadata</a></li><li><a href="#variant.EhCatchTypeinfo" title="EhCatchTypeinfo">EhCatchTypeinfo</a></li><li><a href="#variant.EhPersonality" title="EhPersonality">EhPersonality</a></li><li><a href="#variant.ExchangeMalloc" title="ExchangeMalloc">ExchangeMalloc</a></li><li><a href="#variant.Fn" title="Fn">Fn</a></li><li><a href="#variant.FnMut" title="FnMut">FnMut</a></li><li><a href="#variant.FnOnce" title="FnOnce">FnOnce</a></li><li><a href="#variant.FnOnceOutput" title="FnOnceOutput">FnOnceOutput</a></li><li><a href="#variant.FnPtrAddr" title="FnPtrAddr">FnPtrAddr</a></li><li><a href="#variant.FnPtrTrait" title="FnPtrTrait">FnPtrTrait</a></li><li><a href="#variant.FormatAlignment" title="FormatAlignment">FormatAlignment</a></li><li><a href="#variant.FormatArgument" title="FormatArgument">FormatArgument</a></li><li><a href="#variant.FormatArguments" title="FormatArguments">FormatArguments</a></li><li><a href="#variant.FormatCount" title="FormatCount">FormatCount</a></li><li><a href="#variant.FormatPlaceholder" title="FormatPlaceholder">FormatPlaceholder</a></li><li><a href="#variant.FormatUnsafeArg" title="FormatUnsafeArg">FormatUnsafeArg</a></li><li><a href="#variant.Freeze" title="Freeze">Freeze</a></li><li><a href="#variant.Future" title="Future">Future</a></li><li><a href="#variant.FutureOutput" title="FutureOutput">FutureOutput</a></li><li><a href="#variant.FuturePoll" title="FuturePoll">FuturePoll</a></li><li><a href="#variant.GetContext" title="GetContext">GetContext</a></li><li><a href="#variant.Index" title="Index">Index</a></li><li><a href="#variant.IndexMut" title="IndexMut">IndexMut</a></li><li><a href="#variant.IntoFutureIntoFuture" title="IntoFutureIntoFuture">IntoFutureIntoFuture</a></li><li><a href="#variant.IntoIterIntoIter" title="IntoIterIntoIter">IntoIterIntoIter</a></li><li><a href="#variant.Iterator" title="Iterator">Iterator</a></li><li><a href="#variant.IteratorNext" title="IteratorNext">IteratorNext</a></li><li><a href="#variant.ManuallyDrop" title="ManuallyDrop">ManuallyDrop</a></li><li><a href="#variant.MaybeUninit" title="MaybeUninit">MaybeUninit</a></li><li><a href="#variant.Metadata" title="Metadata">Metadata</a></li><li><a href="#variant.Mul" title="Mul">Mul</a></li><li><a href="#variant.MulAssign" title="MulAssign">MulAssign</a></li><li><a href="#variant.Neg" title="Neg">Neg</a></li><li><a href="#variant.Not" title="Not">Not</a></li><li><a href="#variant.Option" title="Option">Option</a></li><li><a href="#variant.OptionNone" title="OptionNone">OptionNone</a></li><li><a href="#variant.OptionSome" title="OptionSome">OptionSome</a></li><li><a href="#variant.OwnedBox" title="OwnedBox">OwnedBox</a></li><li><a href="#variant.Panic" title="Panic">Panic</a></li><li><a href="#variant.PanicBoundsCheck" title="PanicBoundsCheck">PanicBoundsCheck</a></li><li><a href="#variant.PanicCannotUnwind" title="PanicCannotUnwind">PanicCannotUnwind</a></li><li><a href="#variant.PanicDisplay" title="PanicDisplay">PanicDisplay</a></li><li><a href="#variant.PanicFmt" title="PanicFmt">PanicFmt</a></li><li><a href="#variant.PanicImpl" title="PanicImpl">PanicImpl</a></li><li><a href="#variant.PanicInfo" title="PanicInfo">PanicInfo</a></li><li><a href="#variant.PanicLocation" title="PanicLocation">PanicLocation</a></li><li><a href="#variant.PanicMisalignedPointerDereference" title="PanicMisalignedPointerDereference">PanicMisalignedPointerDereference</a></li><li><a href="#variant.PanicNounwind" title="PanicNounwind">PanicNounwind</a></li><li><a href="#variant.PartialEq" title="PartialEq">PartialEq</a></li><li><a href="#variant.PartialOrd" title="PartialOrd">PartialOrd</a></li><li><a href="#variant.PhantomData" title="PhantomData">PhantomData</a></li><li><a href="#variant.Pin" title="Pin">Pin</a></li><li><a href="#variant.PinNewUnchecked" title="PinNewUnchecked">PinNewUnchecked</a></li><li><a href="#variant.PointeeTrait" title="PointeeTrait">PointeeTrait</a></li><li><a href="#variant.PointerLike" title="PointerLike">PointerLike</a></li><li><a href="#variant.Poll" title="Poll">Poll</a></li><li><a href="#variant.PollPending" title="PollPending">PollPending</a></li><li><a href="#variant.PollReady" title="PollReady">PollReady</a></li><li><a href="#variant.Range" title="Range">Range</a></li><li><a href="#variant.RangeFrom" title="RangeFrom">RangeFrom</a></li><li><a href="#variant.RangeFull" title="RangeFull">RangeFull</a></li><li><a href="#variant.RangeInclusiveNew" title="RangeInclusiveNew">RangeInclusiveNew</a></li><li><a href="#variant.RangeInclusiveStruct" title="RangeInclusiveStruct">RangeInclusiveStruct</a></li><li><a href="#variant.RangeTo" title="RangeTo">RangeTo</a></li><li><a href="#variant.RangeToInclusive" title="RangeToInclusive">RangeToInclusive</a></li><li><a href="#variant.Receiver" title="Receiver">Receiver</a></li><li><a href="#variant.Rem" title="Rem">Rem</a></li><li><a href="#variant.RemAssign" title="RemAssign">RemAssign</a></li><li><a href="#variant.ResultErr" title="ResultErr">ResultErr</a></li><li><a href="#variant.ResultOk" title="ResultOk">ResultOk</a></li><li><a href="#variant.ResumeTy" title="ResumeTy">ResumeTy</a></li><li><a href="#variant.Shl" title="Shl">Shl</a></li><li><a href="#variant.ShlAssign" title="ShlAssign">ShlAssign</a></li><li><a href="#variant.Shr" title="Shr">Shr</a></li><li><a href="#variant.ShrAssign" title="ShrAssign">ShrAssign</a></li><li><a href="#variant.Sized" title="Sized">Sized</a></li><li><a href="#variant.SliceLen" title="SliceLen">SliceLen</a></li><li><a href="#variant.Start" title="Start">Start</a></li><li><a href="#variant.String" title="String">String</a></li><li><a href="#variant.StructuralPeq" title="StructuralPeq">StructuralPeq</a></li><li><a href="#variant.StructuralTeq" title="StructuralTeq">StructuralTeq</a></li><li><a href="#variant.Sub" title="Sub">Sub</a></li><li><a href="#variant.SubAssign" title="SubAssign">SubAssign</a></li><li><a href="#variant.Sync" title="Sync">Sync</a></li><li><a href="#variant.Termination" title="Termination">Termination</a></li><li><a href="#variant.TransmuteOpts" title="TransmuteOpts">TransmuteOpts</a></li><li><a href="#variant.TransmuteTrait" title="TransmuteTrait">TransmuteTrait</a></li><li><a href="#variant.Try" title="Try">Try</a></li><li><a href="#variant.TryTraitBranch" title="TryTraitBranch">TryTraitBranch</a></li><li><a href="#variant.TryTraitFromOutput" title="TryTraitFromOutput">TryTraitFromOutput</a></li><li><a href="#variant.TryTraitFromResidual" title="TryTraitFromResidual">TryTraitFromResidual</a></li><li><a href="#variant.TryTraitFromYeet" title="TryTraitFromYeet">TryTraitFromYeet</a></li><li><a href="#variant.Tuple" title="Tuple">Tuple</a></li><li><a href="#variant.Unpin" title="Unpin">Unpin</a></li><li><a href="#variant.UnsafeCell" title="UnsafeCell">UnsafeCell</a></li><li><a href="#variant.Unsize" title="Unsize">Unsize</a></li><li><a href="#variant.VaList" title="VaList">VaList</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.from_name" title="from_name">from_name</a></li><li><a href="#method.from_symbol" title="from_symbol">from_symbol</a></li><li><a href="#method.name" title="name">name</a></li><li><a href="#method.path" title="path">path</a></li><li><a href="#method.ty_rel_path" title="ty_rel_path">ty_rel_path</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-LangItem" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-LangItem" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-LangItem" title="Debug">Debug</a></li><li><a href="#impl-Eq-for-LangItem" title="Eq">Eq</a></li><li><a href="#impl-Hash-for-LangItem" title="Hash">Hash</a></li><li><a href="#impl-PartialEq-for-LangItem" title="PartialEq">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-LangItem" title="StructuralPartialEq">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-LangItem" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-LangItem" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-LangItem" title="Send">Send</a></li><li><a href="#impl-Sync-for-LangItem" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-LangItem" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-LangItem" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-Captures%3C'a%3E-for-T" title="Captures<'a>">Captures<'a></a></li><li><a href="#impl-Cast-for-T" title="Cast">Cast</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q" title="Equivalent<K>">Equivalent<K></a></li><li><a href="#impl-Equivalent%3CK%3E-for-Q-1" title="Equivalent<K>">Equivalent<K></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" title="IntoBox<dyn Any + Send>">IntoBox<dyn Any + Send></a></li><li><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send+%2B+Sync%3E-for-T" title="IntoBox<dyn Any + Sync + Send>">IntoBox<dyn Any + Sync + Send></a></li><li><a href="#impl-IntoBox%3Cdyn+Any%3E-for-T" title="IntoBox<dyn Any>">IntoBox<dyn Any></a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate hir</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">hir</a></span><h1>Enum <span class="enum">LangItem</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub enum LangItem {
|
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 135 variants</span></summary> Sized,
|
|
Unsize,
|
|
StructuralPeq,
|
|
StructuralTeq,
|
|
Copy,
|
|
Clone,
|
|
Sync,
|
|
DiscriminantKind,
|
|
Discriminant,
|
|
PointeeTrait,
|
|
Metadata,
|
|
DynMetadata,
|
|
Freeze,
|
|
FnPtrTrait,
|
|
FnPtrAddr,
|
|
Drop,
|
|
Destruct,
|
|
CoerceUnsized,
|
|
DispatchFromDyn,
|
|
TransmuteOpts,
|
|
TransmuteTrait,
|
|
Add,
|
|
Sub,
|
|
Mul,
|
|
Div,
|
|
Rem,
|
|
Neg,
|
|
Not,
|
|
BitXor,
|
|
BitAnd,
|
|
BitOr,
|
|
Shl,
|
|
Shr,
|
|
AddAssign,
|
|
SubAssign,
|
|
MulAssign,
|
|
DivAssign,
|
|
RemAssign,
|
|
BitXorAssign,
|
|
BitAndAssign,
|
|
BitOrAssign,
|
|
ShlAssign,
|
|
ShrAssign,
|
|
Index,
|
|
IndexMut,
|
|
UnsafeCell,
|
|
VaList,
|
|
Deref,
|
|
DerefMut,
|
|
DerefTarget,
|
|
Receiver,
|
|
Fn,
|
|
FnMut,
|
|
FnOnce,
|
|
AsyncFn,
|
|
AsyncFnMut,
|
|
AsyncFnOnce,
|
|
FnOnceOutput,
|
|
Future,
|
|
CoroutineState,
|
|
Coroutine,
|
|
Unpin,
|
|
Pin,
|
|
PartialEq,
|
|
PartialOrd,
|
|
CVoid,
|
|
Panic,
|
|
PanicNounwind,
|
|
PanicFmt,
|
|
PanicDisplay,
|
|
ConstPanicFmt,
|
|
PanicBoundsCheck,
|
|
PanicMisalignedPointerDereference,
|
|
PanicInfo,
|
|
PanicLocation,
|
|
PanicImpl,
|
|
PanicCannotUnwind,
|
|
BeginPanic,
|
|
FormatAlignment,
|
|
FormatArgument,
|
|
FormatArguments,
|
|
FormatCount,
|
|
FormatPlaceholder,
|
|
FormatUnsafeArg,
|
|
ExchangeMalloc,
|
|
BoxFree,
|
|
DropInPlace,
|
|
AllocLayout,
|
|
Start,
|
|
EhPersonality,
|
|
EhCatchTypeinfo,
|
|
OwnedBox,
|
|
PhantomData,
|
|
ManuallyDrop,
|
|
MaybeUninit,
|
|
AlignOffset,
|
|
Termination,
|
|
Try,
|
|
Tuple,
|
|
SliceLen,
|
|
TryTraitFromResidual,
|
|
TryTraitFromOutput,
|
|
TryTraitBranch,
|
|
TryTraitFromYeet,
|
|
PointerLike,
|
|
ConstParamTy,
|
|
Poll,
|
|
PollReady,
|
|
PollPending,
|
|
ResumeTy,
|
|
GetContext,
|
|
Context,
|
|
FuturePoll,
|
|
FutureOutput,
|
|
Option,
|
|
OptionSome,
|
|
OptionNone,
|
|
ResultOk,
|
|
ResultErr,
|
|
ControlFlowContinue,
|
|
ControlFlowBreak,
|
|
IntoFutureIntoFuture,
|
|
IntoIterIntoIter,
|
|
IteratorNext,
|
|
Iterator,
|
|
PinNewUnchecked,
|
|
RangeFrom,
|
|
RangeFull,
|
|
RangeInclusiveStruct,
|
|
RangeInclusiveNew,
|
|
Range,
|
|
RangeToInclusive,
|
|
RangeTo,
|
|
String,
|
|
CStr,
|
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A representation of all the valid language items in Rust.</p>
|
|
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Sized" class="variant"><a href="#variant.Sized" class="anchor">§</a><h3 class="code-header">Sized</h3></section><div class="docblock"><p>The <code>sized</code> lang item.</p>
|
|
</div><section id="variant.Unsize" class="variant"><a href="#variant.Unsize" class="anchor">§</a><h3 class="code-header">Unsize</h3></section><div class="docblock"><p>The <code>unsize</code> lang item.</p>
|
|
</div><section id="variant.StructuralPeq" class="variant"><a href="#variant.StructuralPeq" class="anchor">§</a><h3 class="code-header">StructuralPeq</h3></section><div class="docblock"><p>The <code>structural_peq</code> lang item.
|
|
Trait injected by <code>#[derive(PartialEq)]</code>, (i.e. “Partial EQ”).</p>
|
|
</div><section id="variant.StructuralTeq" class="variant"><a href="#variant.StructuralTeq" class="anchor">§</a><h3 class="code-header">StructuralTeq</h3></section><div class="docblock"><p>The <code>structural_teq</code> lang item.
|
|
Trait injected by <code>#[derive(Eq)]</code>, (i.e. “Total EQ”; no, I will not apologize).</p>
|
|
</div><section id="variant.Copy" class="variant"><a href="#variant.Copy" class="anchor">§</a><h3 class="code-header">Copy</h3></section><div class="docblock"><p>The <code>copy</code> lang item.</p>
|
|
</div><section id="variant.Clone" class="variant"><a href="#variant.Clone" class="anchor">§</a><h3 class="code-header">Clone</h3></section><div class="docblock"><p>The <code>clone</code> lang item.</p>
|
|
</div><section id="variant.Sync" class="variant"><a href="#variant.Sync" class="anchor">§</a><h3 class="code-header">Sync</h3></section><div class="docblock"><p>The <code>sync</code> lang item.</p>
|
|
</div><section id="variant.DiscriminantKind" class="variant"><a href="#variant.DiscriminantKind" class="anchor">§</a><h3 class="code-header">DiscriminantKind</h3></section><div class="docblock"><p>The <code>discriminant_kind</code> lang item.</p>
|
|
</div><section id="variant.Discriminant" class="variant"><a href="#variant.Discriminant" class="anchor">§</a><h3 class="code-header">Discriminant</h3></section><div class="docblock"><p>The <code>discriminant_type</code> lang item.
|
|
The associated item of the [<code>DiscriminantKind</code>] trait.</p>
|
|
</div><section id="variant.PointeeTrait" class="variant"><a href="#variant.PointeeTrait" class="anchor">§</a><h3 class="code-header">PointeeTrait</h3></section><div class="docblock"><p>The <code>pointee_trait</code> lang item.</p>
|
|
</div><section id="variant.Metadata" class="variant"><a href="#variant.Metadata" class="anchor">§</a><h3 class="code-header">Metadata</h3></section><div class="docblock"><p>The <code>metadata_type</code> lang item.</p>
|
|
</div><section id="variant.DynMetadata" class="variant"><a href="#variant.DynMetadata" class="anchor">§</a><h3 class="code-header">DynMetadata</h3></section><div class="docblock"><p>The <code>dyn_metadata</code> lang item.</p>
|
|
</div><section id="variant.Freeze" class="variant"><a href="#variant.Freeze" class="anchor">§</a><h3 class="code-header">Freeze</h3></section><div class="docblock"><p>The <code>freeze</code> lang item.</p>
|
|
</div><section id="variant.FnPtrTrait" class="variant"><a href="#variant.FnPtrTrait" class="anchor">§</a><h3 class="code-header">FnPtrTrait</h3></section><div class="docblock"><p>The <code>fn_ptr_trait</code> lang item.</p>
|
|
</div><section id="variant.FnPtrAddr" class="variant"><a href="#variant.FnPtrAddr" class="anchor">§</a><h3 class="code-header">FnPtrAddr</h3></section><div class="docblock"><p>The <code>fn_ptr_addr</code> lang item.</p>
|
|
</div><section id="variant.Drop" class="variant"><a href="#variant.Drop" class="anchor">§</a><h3 class="code-header">Drop</h3></section><div class="docblock"><p>The <code>drop</code> lang item.</p>
|
|
</div><section id="variant.Destruct" class="variant"><a href="#variant.Destruct" class="anchor">§</a><h3 class="code-header">Destruct</h3></section><div class="docblock"><p>The <code>destruct</code> lang item.</p>
|
|
</div><section id="variant.CoerceUnsized" class="variant"><a href="#variant.CoerceUnsized" class="anchor">§</a><h3 class="code-header">CoerceUnsized</h3></section><div class="docblock"><p>The <code>coerce_unsized</code> lang item.</p>
|
|
</div><section id="variant.DispatchFromDyn" class="variant"><a href="#variant.DispatchFromDyn" class="anchor">§</a><h3 class="code-header">DispatchFromDyn</h3></section><div class="docblock"><p>The <code>dispatch_from_dyn</code> lang item.</p>
|
|
</div><section id="variant.TransmuteOpts" class="variant"><a href="#variant.TransmuteOpts" class="anchor">§</a><h3 class="code-header">TransmuteOpts</h3></section><div class="docblock"><p>The <code>transmute_opts</code> lang item.</p>
|
|
</div><section id="variant.TransmuteTrait" class="variant"><a href="#variant.TransmuteTrait" class="anchor">§</a><h3 class="code-header">TransmuteTrait</h3></section><div class="docblock"><p>The <code>transmute_trait</code> lang item.</p>
|
|
</div><section id="variant.Add" class="variant"><a href="#variant.Add" class="anchor">§</a><h3 class="code-header">Add</h3></section><div class="docblock"><p>The <code>add</code> lang item.</p>
|
|
</div><section id="variant.Sub" class="variant"><a href="#variant.Sub" class="anchor">§</a><h3 class="code-header">Sub</h3></section><div class="docblock"><p>The <code>sub</code> lang item.</p>
|
|
</div><section id="variant.Mul" class="variant"><a href="#variant.Mul" class="anchor">§</a><h3 class="code-header">Mul</h3></section><div class="docblock"><p>The <code>mul</code> lang item.</p>
|
|
</div><section id="variant.Div" class="variant"><a href="#variant.Div" class="anchor">§</a><h3 class="code-header">Div</h3></section><div class="docblock"><p>The <code>div</code> lang item.</p>
|
|
</div><section id="variant.Rem" class="variant"><a href="#variant.Rem" class="anchor">§</a><h3 class="code-header">Rem</h3></section><div class="docblock"><p>The <code>rem</code> lang item.</p>
|
|
</div><section id="variant.Neg" class="variant"><a href="#variant.Neg" class="anchor">§</a><h3 class="code-header">Neg</h3></section><div class="docblock"><p>The <code>neg</code> lang item.</p>
|
|
</div><section id="variant.Not" class="variant"><a href="#variant.Not" class="anchor">§</a><h3 class="code-header">Not</h3></section><div class="docblock"><p>The <code>not</code> lang item.</p>
|
|
</div><section id="variant.BitXor" class="variant"><a href="#variant.BitXor" class="anchor">§</a><h3 class="code-header">BitXor</h3></section><div class="docblock"><p>The <code>bitxor</code> lang item.</p>
|
|
</div><section id="variant.BitAnd" class="variant"><a href="#variant.BitAnd" class="anchor">§</a><h3 class="code-header">BitAnd</h3></section><div class="docblock"><p>The <code>bitand</code> lang item.</p>
|
|
</div><section id="variant.BitOr" class="variant"><a href="#variant.BitOr" class="anchor">§</a><h3 class="code-header">BitOr</h3></section><div class="docblock"><p>The <code>bitor</code> lang item.</p>
|
|
</div><section id="variant.Shl" class="variant"><a href="#variant.Shl" class="anchor">§</a><h3 class="code-header">Shl</h3></section><div class="docblock"><p>The <code>shl</code> lang item.</p>
|
|
</div><section id="variant.Shr" class="variant"><a href="#variant.Shr" class="anchor">§</a><h3 class="code-header">Shr</h3></section><div class="docblock"><p>The <code>shr</code> lang item.</p>
|
|
</div><section id="variant.AddAssign" class="variant"><a href="#variant.AddAssign" class="anchor">§</a><h3 class="code-header">AddAssign</h3></section><div class="docblock"><p>The <code>add_assign</code> lang item.</p>
|
|
</div><section id="variant.SubAssign" class="variant"><a href="#variant.SubAssign" class="anchor">§</a><h3 class="code-header">SubAssign</h3></section><div class="docblock"><p>The <code>sub_assign</code> lang item.</p>
|
|
</div><section id="variant.MulAssign" class="variant"><a href="#variant.MulAssign" class="anchor">§</a><h3 class="code-header">MulAssign</h3></section><div class="docblock"><p>The <code>mul_assign</code> lang item.</p>
|
|
</div><section id="variant.DivAssign" class="variant"><a href="#variant.DivAssign" class="anchor">§</a><h3 class="code-header">DivAssign</h3></section><div class="docblock"><p>The <code>div_assign</code> lang item.</p>
|
|
</div><section id="variant.RemAssign" class="variant"><a href="#variant.RemAssign" class="anchor">§</a><h3 class="code-header">RemAssign</h3></section><div class="docblock"><p>The <code>rem_assign</code> lang item.</p>
|
|
</div><section id="variant.BitXorAssign" class="variant"><a href="#variant.BitXorAssign" class="anchor">§</a><h3 class="code-header">BitXorAssign</h3></section><div class="docblock"><p>The <code>bitxor_assign</code> lang item.</p>
|
|
</div><section id="variant.BitAndAssign" class="variant"><a href="#variant.BitAndAssign" class="anchor">§</a><h3 class="code-header">BitAndAssign</h3></section><div class="docblock"><p>The <code>bitand_assign</code> lang item.</p>
|
|
</div><section id="variant.BitOrAssign" class="variant"><a href="#variant.BitOrAssign" class="anchor">§</a><h3 class="code-header">BitOrAssign</h3></section><div class="docblock"><p>The <code>bitor_assign</code> lang item.</p>
|
|
</div><section id="variant.ShlAssign" class="variant"><a href="#variant.ShlAssign" class="anchor">§</a><h3 class="code-header">ShlAssign</h3></section><div class="docblock"><p>The <code>shl_assign</code> lang item.</p>
|
|
</div><section id="variant.ShrAssign" class="variant"><a href="#variant.ShrAssign" class="anchor">§</a><h3 class="code-header">ShrAssign</h3></section><div class="docblock"><p>The <code>shr_assign</code> lang item.</p>
|
|
</div><section id="variant.Index" class="variant"><a href="#variant.Index" class="anchor">§</a><h3 class="code-header">Index</h3></section><div class="docblock"><p>The <code>index</code> lang item.</p>
|
|
</div><section id="variant.IndexMut" class="variant"><a href="#variant.IndexMut" class="anchor">§</a><h3 class="code-header">IndexMut</h3></section><div class="docblock"><p>The <code>index_mut</code> lang item.</p>
|
|
</div><section id="variant.UnsafeCell" class="variant"><a href="#variant.UnsafeCell" class="anchor">§</a><h3 class="code-header">UnsafeCell</h3></section><div class="docblock"><p>The <code>unsafe_cell</code> lang item.</p>
|
|
</div><section id="variant.VaList" class="variant"><a href="#variant.VaList" class="anchor">§</a><h3 class="code-header">VaList</h3></section><div class="docblock"><p>The <code>va_list</code> lang item.</p>
|
|
</div><section id="variant.Deref" class="variant"><a href="#variant.Deref" class="anchor">§</a><h3 class="code-header">Deref</h3></section><div class="docblock"><p>The <code>deref</code> lang item.</p>
|
|
</div><section id="variant.DerefMut" class="variant"><a href="#variant.DerefMut" class="anchor">§</a><h3 class="code-header">DerefMut</h3></section><div class="docblock"><p>The <code>deref_mut</code> lang item.</p>
|
|
</div><section id="variant.DerefTarget" class="variant"><a href="#variant.DerefTarget" class="anchor">§</a><h3 class="code-header">DerefTarget</h3></section><div class="docblock"><p>The <code>deref_target</code> lang item.</p>
|
|
</div><section id="variant.Receiver" class="variant"><a href="#variant.Receiver" class="anchor">§</a><h3 class="code-header">Receiver</h3></section><div class="docblock"><p>The <code>receiver</code> lang item.</p>
|
|
</div><section id="variant.Fn" class="variant"><a href="#variant.Fn" class="anchor">§</a><h3 class="code-header">Fn</h3></section><div class="docblock"><p>The <code>fn_</code> lang item.</p>
|
|
</div><section id="variant.FnMut" class="variant"><a href="#variant.FnMut" class="anchor">§</a><h3 class="code-header">FnMut</h3></section><div class="docblock"><p>The <code>fn_mut</code> lang item.</p>
|
|
</div><section id="variant.FnOnce" class="variant"><a href="#variant.FnOnce" class="anchor">§</a><h3 class="code-header">FnOnce</h3></section><div class="docblock"><p>The <code>fn_once</code> lang item.</p>
|
|
</div><section id="variant.AsyncFn" class="variant"><a href="#variant.AsyncFn" class="anchor">§</a><h3 class="code-header">AsyncFn</h3></section><div class="docblock"><p>The <code>async_fn</code> lang item.</p>
|
|
</div><section id="variant.AsyncFnMut" class="variant"><a href="#variant.AsyncFnMut" class="anchor">§</a><h3 class="code-header">AsyncFnMut</h3></section><div class="docblock"><p>The <code>async_fn_mut</code> lang item.</p>
|
|
</div><section id="variant.AsyncFnOnce" class="variant"><a href="#variant.AsyncFnOnce" class="anchor">§</a><h3 class="code-header">AsyncFnOnce</h3></section><div class="docblock"><p>The <code>async_fn_once</code> lang item.</p>
|
|
</div><section id="variant.FnOnceOutput" class="variant"><a href="#variant.FnOnceOutput" class="anchor">§</a><h3 class="code-header">FnOnceOutput</h3></section><div class="docblock"><p>The <code>fn_once_output</code> lang item.</p>
|
|
</div><section id="variant.Future" class="variant"><a href="#variant.Future" class="anchor">§</a><h3 class="code-header">Future</h3></section><div class="docblock"><p>The <code>future_trait</code> lang item.</p>
|
|
</div><section id="variant.CoroutineState" class="variant"><a href="#variant.CoroutineState" class="anchor">§</a><h3 class="code-header">CoroutineState</h3></section><div class="docblock"><p>The <code>coroutine_state</code> lang item.</p>
|
|
</div><section id="variant.Coroutine" class="variant"><a href="#variant.Coroutine" class="anchor">§</a><h3 class="code-header">Coroutine</h3></section><div class="docblock"><p>The <code>coroutine</code> lang item.</p>
|
|
</div><section id="variant.Unpin" class="variant"><a href="#variant.Unpin" class="anchor">§</a><h3 class="code-header">Unpin</h3></section><div class="docblock"><p>The <code>unpin</code> lang item.</p>
|
|
</div><section id="variant.Pin" class="variant"><a href="#variant.Pin" class="anchor">§</a><h3 class="code-header">Pin</h3></section><div class="docblock"><p>The <code>pin</code> lang item.</p>
|
|
</div><section id="variant.PartialEq" class="variant"><a href="#variant.PartialEq" class="anchor">§</a><h3 class="code-header">PartialEq</h3></section><div class="docblock"><p>The <code>eq</code> lang item.</p>
|
|
</div><section id="variant.PartialOrd" class="variant"><a href="#variant.PartialOrd" class="anchor">§</a><h3 class="code-header">PartialOrd</h3></section><div class="docblock"><p>The <code>partial_ord</code> lang item.</p>
|
|
</div><section id="variant.CVoid" class="variant"><a href="#variant.CVoid" class="anchor">§</a><h3 class="code-header">CVoid</h3></section><div class="docblock"><p>The <code>c_void</code> lang item.</p>
|
|
</div><section id="variant.Panic" class="variant"><a href="#variant.Panic" class="anchor">§</a><h3 class="code-header">Panic</h3></section><div class="docblock"><p>The <code>panic</code> lang item.</p>
|
|
</div><section id="variant.PanicNounwind" class="variant"><a href="#variant.PanicNounwind" class="anchor">§</a><h3 class="code-header">PanicNounwind</h3></section><div class="docblock"><p>The <code>panic_nounwind</code> lang item.</p>
|
|
</div><section id="variant.PanicFmt" class="variant"><a href="#variant.PanicFmt" class="anchor">§</a><h3 class="code-header">PanicFmt</h3></section><div class="docblock"><p>The <code>panic_fmt</code> lang item.</p>
|
|
</div><section id="variant.PanicDisplay" class="variant"><a href="#variant.PanicDisplay" class="anchor">§</a><h3 class="code-header">PanicDisplay</h3></section><div class="docblock"><p>The <code>panic_display</code> lang item.</p>
|
|
</div><section id="variant.ConstPanicFmt" class="variant"><a href="#variant.ConstPanicFmt" class="anchor">§</a><h3 class="code-header">ConstPanicFmt</h3></section><div class="docblock"><p>The <code>const_panic_fmt</code> lang item.</p>
|
|
</div><section id="variant.PanicBoundsCheck" class="variant"><a href="#variant.PanicBoundsCheck" class="anchor">§</a><h3 class="code-header">PanicBoundsCheck</h3></section><div class="docblock"><p>The <code>panic_bounds_check</code> lang item.</p>
|
|
</div><section id="variant.PanicMisalignedPointerDereference" class="variant"><a href="#variant.PanicMisalignedPointerDereference" class="anchor">§</a><h3 class="code-header">PanicMisalignedPointerDereference</h3></section><div class="docblock"><p>The <code>panic_misaligned_pointer_dereference</code> lang item.</p>
|
|
</div><section id="variant.PanicInfo" class="variant"><a href="#variant.PanicInfo" class="anchor">§</a><h3 class="code-header">PanicInfo</h3></section><div class="docblock"><p>The <code>panic_info</code> lang item.</p>
|
|
</div><section id="variant.PanicLocation" class="variant"><a href="#variant.PanicLocation" class="anchor">§</a><h3 class="code-header">PanicLocation</h3></section><div class="docblock"><p>The <code>panic_location</code> lang item.</p>
|
|
</div><section id="variant.PanicImpl" class="variant"><a href="#variant.PanicImpl" class="anchor">§</a><h3 class="code-header">PanicImpl</h3></section><div class="docblock"><p>The <code>panic_impl</code> lang item.</p>
|
|
</div><section id="variant.PanicCannotUnwind" class="variant"><a href="#variant.PanicCannotUnwind" class="anchor">§</a><h3 class="code-header">PanicCannotUnwind</h3></section><div class="docblock"><p>The <code>panic_cannot_unwind</code> lang item.</p>
|
|
</div><section id="variant.BeginPanic" class="variant"><a href="#variant.BeginPanic" class="anchor">§</a><h3 class="code-header">BeginPanic</h3></section><div class="docblock"><p>The <code>begin_panic</code> lang item.
|
|
libstd panic entry point. Necessary for const eval to be able to catch it</p>
|
|
</div><section id="variant.FormatAlignment" class="variant"><a href="#variant.FormatAlignment" class="anchor">§</a><h3 class="code-header">FormatAlignment</h3></section><div class="docblock"><p>The <code>format_alignment</code> lang item.</p>
|
|
</div><section id="variant.FormatArgument" class="variant"><a href="#variant.FormatArgument" class="anchor">§</a><h3 class="code-header">FormatArgument</h3></section><div class="docblock"><p>The <code>format_argument</code> lang item.</p>
|
|
</div><section id="variant.FormatArguments" class="variant"><a href="#variant.FormatArguments" class="anchor">§</a><h3 class="code-header">FormatArguments</h3></section><div class="docblock"><p>The <code>format_arguments</code> lang item.</p>
|
|
</div><section id="variant.FormatCount" class="variant"><a href="#variant.FormatCount" class="anchor">§</a><h3 class="code-header">FormatCount</h3></section><div class="docblock"><p>The <code>format_count</code> lang item.</p>
|
|
</div><section id="variant.FormatPlaceholder" class="variant"><a href="#variant.FormatPlaceholder" class="anchor">§</a><h3 class="code-header">FormatPlaceholder</h3></section><div class="docblock"><p>The <code>format_placeholder</code> lang item.</p>
|
|
</div><section id="variant.FormatUnsafeArg" class="variant"><a href="#variant.FormatUnsafeArg" class="anchor">§</a><h3 class="code-header">FormatUnsafeArg</h3></section><div class="docblock"><p>The <code>format_unsafe_arg</code> lang item.</p>
|
|
</div><section id="variant.ExchangeMalloc" class="variant"><a href="#variant.ExchangeMalloc" class="anchor">§</a><h3 class="code-header">ExchangeMalloc</h3></section><div class="docblock"><p>The <code>exchange_malloc</code> lang item.</p>
|
|
</div><section id="variant.BoxFree" class="variant"><a href="#variant.BoxFree" class="anchor">§</a><h3 class="code-header">BoxFree</h3></section><div class="docblock"><p>The <code>box_free</code> lang item.</p>
|
|
</div><section id="variant.DropInPlace" class="variant"><a href="#variant.DropInPlace" class="anchor">§</a><h3 class="code-header">DropInPlace</h3></section><div class="docblock"><p>The <code>drop_in_place</code> lang item.</p>
|
|
</div><section id="variant.AllocLayout" class="variant"><a href="#variant.AllocLayout" class="anchor">§</a><h3 class="code-header">AllocLayout</h3></section><div class="docblock"><p>The <code>alloc_layout</code> lang item.</p>
|
|
</div><section id="variant.Start" class="variant"><a href="#variant.Start" class="anchor">§</a><h3 class="code-header">Start</h3></section><div class="docblock"><p>The <code>start</code> lang item.</p>
|
|
</div><section id="variant.EhPersonality" class="variant"><a href="#variant.EhPersonality" class="anchor">§</a><h3 class="code-header">EhPersonality</h3></section><div class="docblock"><p>The <code>eh_personality</code> lang item.</p>
|
|
</div><section id="variant.EhCatchTypeinfo" class="variant"><a href="#variant.EhCatchTypeinfo" class="anchor">§</a><h3 class="code-header">EhCatchTypeinfo</h3></section><div class="docblock"><p>The <code>eh_catch_typeinfo</code> lang item.</p>
|
|
</div><section id="variant.OwnedBox" class="variant"><a href="#variant.OwnedBox" class="anchor">§</a><h3 class="code-header">OwnedBox</h3></section><div class="docblock"><p>The <code>owned_box</code> lang item.</p>
|
|
</div><section id="variant.PhantomData" class="variant"><a href="#variant.PhantomData" class="anchor">§</a><h3 class="code-header">PhantomData</h3></section><div class="docblock"><p>The <code>phantom_data</code> lang item.</p>
|
|
</div><section id="variant.ManuallyDrop" class="variant"><a href="#variant.ManuallyDrop" class="anchor">§</a><h3 class="code-header">ManuallyDrop</h3></section><div class="docblock"><p>The <code>manually_drop</code> lang item.</p>
|
|
</div><section id="variant.MaybeUninit" class="variant"><a href="#variant.MaybeUninit" class="anchor">§</a><h3 class="code-header">MaybeUninit</h3></section><div class="docblock"><p>The <code>maybe_uninit</code> lang item.</p>
|
|
</div><section id="variant.AlignOffset" class="variant"><a href="#variant.AlignOffset" class="anchor">§</a><h3 class="code-header">AlignOffset</h3></section><div class="docblock"><p>The <code>align_offset</code> lang item.
|
|
Align offset for stride != 1; must not panic.</p>
|
|
</div><section id="variant.Termination" class="variant"><a href="#variant.Termination" class="anchor">§</a><h3 class="code-header">Termination</h3></section><div class="docblock"><p>The <code>termination</code> lang item.</p>
|
|
</div><section id="variant.Try" class="variant"><a href="#variant.Try" class="anchor">§</a><h3 class="code-header">Try</h3></section><div class="docblock"><p>The <code>Try</code> lang item.</p>
|
|
</div><section id="variant.Tuple" class="variant"><a href="#variant.Tuple" class="anchor">§</a><h3 class="code-header">Tuple</h3></section><div class="docblock"><p>The <code>tuple_trait</code> lang item.</p>
|
|
</div><section id="variant.SliceLen" class="variant"><a href="#variant.SliceLen" class="anchor">§</a><h3 class="code-header">SliceLen</h3></section><div class="docblock"><p>The <code>slice_len_fn</code> lang item.</p>
|
|
</div><section id="variant.TryTraitFromResidual" class="variant"><a href="#variant.TryTraitFromResidual" class="anchor">§</a><h3 class="code-header">TryTraitFromResidual</h3></section><div class="docblock"><p>The <code>from_residual</code> lang item.</p>
|
|
</div><section id="variant.TryTraitFromOutput" class="variant"><a href="#variant.TryTraitFromOutput" class="anchor">§</a><h3 class="code-header">TryTraitFromOutput</h3></section><div class="docblock"><p>The <code>from_output</code> lang item.</p>
|
|
</div><section id="variant.TryTraitBranch" class="variant"><a href="#variant.TryTraitBranch" class="anchor">§</a><h3 class="code-header">TryTraitBranch</h3></section><div class="docblock"><p>The <code>branch</code> lang item.</p>
|
|
</div><section id="variant.TryTraitFromYeet" class="variant"><a href="#variant.TryTraitFromYeet" class="anchor">§</a><h3 class="code-header">TryTraitFromYeet</h3></section><div class="docblock"><p>The <code>from_yeet</code> lang item.</p>
|
|
</div><section id="variant.PointerLike" class="variant"><a href="#variant.PointerLike" class="anchor">§</a><h3 class="code-header">PointerLike</h3></section><div class="docblock"><p>The <code>pointer_like</code> lang item.</p>
|
|
</div><section id="variant.ConstParamTy" class="variant"><a href="#variant.ConstParamTy" class="anchor">§</a><h3 class="code-header">ConstParamTy</h3></section><div class="docblock"><p>The <code>const_param_ty</code> lang item.</p>
|
|
</div><section id="variant.Poll" class="variant"><a href="#variant.Poll" class="anchor">§</a><h3 class="code-header">Poll</h3></section><div class="docblock"><p>The <code>Poll</code> lang item.</p>
|
|
</div><section id="variant.PollReady" class="variant"><a href="#variant.PollReady" class="anchor">§</a><h3 class="code-header">PollReady</h3></section><div class="docblock"><p>The <code>Ready</code> lang item.</p>
|
|
</div><section id="variant.PollPending" class="variant"><a href="#variant.PollPending" class="anchor">§</a><h3 class="code-header">PollPending</h3></section><div class="docblock"><p>The <code>Pending</code> lang item.</p>
|
|
</div><section id="variant.ResumeTy" class="variant"><a href="#variant.ResumeTy" class="anchor">§</a><h3 class="code-header">ResumeTy</h3></section><div class="docblock"><p>The <code>ResumeTy</code> lang item.</p>
|
|
</div><section id="variant.GetContext" class="variant"><a href="#variant.GetContext" class="anchor">§</a><h3 class="code-header">GetContext</h3></section><div class="docblock"><p>The <code>get_context</code> lang item.</p>
|
|
</div><section id="variant.Context" class="variant"><a href="#variant.Context" class="anchor">§</a><h3 class="code-header">Context</h3></section><div class="docblock"><p>The <code>Context</code> lang item.</p>
|
|
</div><section id="variant.FuturePoll" class="variant"><a href="#variant.FuturePoll" class="anchor">§</a><h3 class="code-header">FuturePoll</h3></section><div class="docblock"><p>The <code>poll</code> lang item.</p>
|
|
</div><section id="variant.FutureOutput" class="variant"><a href="#variant.FutureOutput" class="anchor">§</a><h3 class="code-header">FutureOutput</h3></section><div class="docblock"><p>The <code>future_output</code> lang item.</p>
|
|
</div><section id="variant.Option" class="variant"><a href="#variant.Option" class="anchor">§</a><h3 class="code-header">Option</h3></section><div class="docblock"><p>The <code>Option</code> lang item.</p>
|
|
</div><section id="variant.OptionSome" class="variant"><a href="#variant.OptionSome" class="anchor">§</a><h3 class="code-header">OptionSome</h3></section><div class="docblock"><p>The <code>Some</code> lang item.</p>
|
|
</div><section id="variant.OptionNone" class="variant"><a href="#variant.OptionNone" class="anchor">§</a><h3 class="code-header">OptionNone</h3></section><div class="docblock"><p>The <code>None</code> lang item.</p>
|
|
</div><section id="variant.ResultOk" class="variant"><a href="#variant.ResultOk" class="anchor">§</a><h3 class="code-header">ResultOk</h3></section><div class="docblock"><p>The <code>Ok</code> lang item.</p>
|
|
</div><section id="variant.ResultErr" class="variant"><a href="#variant.ResultErr" class="anchor">§</a><h3 class="code-header">ResultErr</h3></section><div class="docblock"><p>The <code>Err</code> lang item.</p>
|
|
</div><section id="variant.ControlFlowContinue" class="variant"><a href="#variant.ControlFlowContinue" class="anchor">§</a><h3 class="code-header">ControlFlowContinue</h3></section><div class="docblock"><p>The <code>Continue</code> lang item.</p>
|
|
</div><section id="variant.ControlFlowBreak" class="variant"><a href="#variant.ControlFlowBreak" class="anchor">§</a><h3 class="code-header">ControlFlowBreak</h3></section><div class="docblock"><p>The <code>Break</code> lang item.</p>
|
|
</div><section id="variant.IntoFutureIntoFuture" class="variant"><a href="#variant.IntoFutureIntoFuture" class="anchor">§</a><h3 class="code-header">IntoFutureIntoFuture</h3></section><div class="docblock"><p>The <code>into_future</code> lang item.</p>
|
|
</div><section id="variant.IntoIterIntoIter" class="variant"><a href="#variant.IntoIterIntoIter" class="anchor">§</a><h3 class="code-header">IntoIterIntoIter</h3></section><div class="docblock"><p>The <code>into_iter</code> lang item.</p>
|
|
</div><section id="variant.IteratorNext" class="variant"><a href="#variant.IteratorNext" class="anchor">§</a><h3 class="code-header">IteratorNext</h3></section><div class="docblock"><p>The <code>next</code> lang item.</p>
|
|
</div><section id="variant.Iterator" class="variant"><a href="#variant.Iterator" class="anchor">§</a><h3 class="code-header">Iterator</h3></section><div class="docblock"><p>The <code>iterator</code> lang item.</p>
|
|
</div><section id="variant.PinNewUnchecked" class="variant"><a href="#variant.PinNewUnchecked" class="anchor">§</a><h3 class="code-header">PinNewUnchecked</h3></section><div class="docblock"><p>The <code>new_unchecked</code> lang item.</p>
|
|
</div><section id="variant.RangeFrom" class="variant"><a href="#variant.RangeFrom" class="anchor">§</a><h3 class="code-header">RangeFrom</h3></section><div class="docblock"><p>The <code>RangeFrom</code> lang item.</p>
|
|
</div><section id="variant.RangeFull" class="variant"><a href="#variant.RangeFull" class="anchor">§</a><h3 class="code-header">RangeFull</h3></section><div class="docblock"><p>The <code>RangeFull</code> lang item.</p>
|
|
</div><section id="variant.RangeInclusiveStruct" class="variant"><a href="#variant.RangeInclusiveStruct" class="anchor">§</a><h3 class="code-header">RangeInclusiveStruct</h3></section><div class="docblock"><p>The <code>RangeInclusive</code> lang item.</p>
|
|
</div><section id="variant.RangeInclusiveNew" class="variant"><a href="#variant.RangeInclusiveNew" class="anchor">§</a><h3 class="code-header">RangeInclusiveNew</h3></section><div class="docblock"><p>The <code>range_inclusive_new</code> lang item.</p>
|
|
</div><section id="variant.Range" class="variant"><a href="#variant.Range" class="anchor">§</a><h3 class="code-header">Range</h3></section><div class="docblock"><p>The <code>Range</code> lang item.</p>
|
|
</div><section id="variant.RangeToInclusive" class="variant"><a href="#variant.RangeToInclusive" class="anchor">§</a><h3 class="code-header">RangeToInclusive</h3></section><div class="docblock"><p>The <code>RangeToInclusive</code> lang item.</p>
|
|
</div><section id="variant.RangeTo" class="variant"><a href="#variant.RangeTo" class="anchor">§</a><h3 class="code-header">RangeTo</h3></section><div class="docblock"><p>The <code>RangeTo</code> lang item.</p>
|
|
</div><section id="variant.String" class="variant"><a href="#variant.String" class="anchor">§</a><h3 class="code-header">String</h3></section><div class="docblock"><p>The <code>String</code> lang item.</p>
|
|
</div><section id="variant.CStr" class="variant"><a href="#variant.CStr" class="anchor">§</a><h3 class="code-header">CStr</h3></section><div class="docblock"><p>The <code>CStr</code> lang item.</p>
|
|
</div></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-LangItem" class="impl"><a href="#impl-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_name" class="method"><h4 class="code-header">pub fn <a href="#method.from_name" class="fn">from_name</a>(name: &<a class="struct" href="struct.Name.html" title="struct hir::Name">Name</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a>></h4></section></summary><div class="docblock"><p>Opposite of <a href="enum.LangItem.html#method.name" title="method hir::LangItem::name"><code>LangItem::name</code></a></p>
|
|
</div></details><section id="method.path" class="method"><h4 class="code-header">pub fn <a href="#method.path" class="fn">path</a>(
|
|
&self,
|
|
db: &dyn <a class="trait" href="db/trait.DefDatabase.html" title="trait hir::db::DefDatabase">DefDatabase</a>,
|
|
start_crate: Idx<CrateData>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Path></h4></section><section id="method.ty_rel_path" class="method"><h4 class="code-header">pub fn <a href="#method.ty_rel_path" class="fn">ty_rel_path</a>(
|
|
&self,
|
|
db: &dyn <a class="trait" href="db/trait.DefDatabase.html" title="trait hir::db::DefDatabase">DefDatabase</a>,
|
|
start_crate: Idx<CrateData>,
|
|
seg: <a class="struct" href="struct.Name.html" title="struct hir::Name">Name</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Path></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LangItem-1" class="impl"><a href="#impl-LangItem-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><section id="method.name" class="method"><h4 class="code-header">pub fn <a href="#method.name" class="fn">name</a>(self) -> &'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.from_symbol" class="method"><h4 class="code-header">pub fn <a href="#method.from_symbol" class="fn">from_symbol</a>(sym: &<a class="struct" href="struct.Symbol.html" title="struct hir::Symbol">Symbol</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a>></h4></section></summary><div class="docblock"><p>Opposite of <a href="enum.LangItem.html#method.name" title="method hir::LangItem::name"><code>LangItem::name</code></a></p>
|
|
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-LangItem" class="impl"><a href="#impl-Clone-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-LangItem" class="impl"><a href="#impl-Debug-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-LangItem" class="impl"><a href="#impl-Hash-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut __H</a>)<div class="where">where
|
|
__H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/hash/mod.rs.html#235-237">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
|
H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-LangItem" class="impl"><a href="#impl-PartialEq-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
|
and should not be overridden without very good reason.</div></details></div></details><section id="impl-Copy-for-LangItem" class="impl"><a href="#impl-Copy-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-Eq-for-LangItem" class="impl"><a href="#impl-Eq-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-StructuralPartialEq-for-LangItem" class="impl"><a href="#impl-StructuralPartialEq-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-LangItem" class="impl"><a href="#impl-Freeze-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-RefUnwindSafe-for-LangItem" class="impl"><a href="#impl-RefUnwindSafe-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-Send-for-LangItem" class="impl"><a href="#impl-Send-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-Sync-for-LangItem" class="impl"><a href="#impl-Sync-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-Unpin-for-LangItem" class="impl"><a href="#impl-Unpin-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section><section id="impl-UnwindSafe-for-LangItem" class="impl"><a href="#impl-UnwindSafe-for-LangItem" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.LangItem.html" title="enum hir::LangItem">LangItem</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Cast-for-T" class="impl"><a href="#impl-Cast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Cast for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast" class="method trait-impl"><a href="#method.cast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">cast</a><U>(self, interner: <U as HasInterner>::Interner) -> U<div class="where">where
|
|
Self: CastTo<U>,
|
|
U: HasInterner,</div></h4></section></summary><div class='docblock'>Cast a value to type <code>U</code> using <code>CastTo</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q" class="anchor">§</a><h3 class="code-header">impl<Q, K> Equivalent<K> for Q<div class="where">where
|
|
Q: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
|
K: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent" class="method trait-impl"><a href="#method.equivalent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&K</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if this value is equivalent to the given key. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Equivalent%3CK%3E-for-Q-1" class="impl"><a href="#impl-Equivalent%3CK%3E-for-Q-1" class="anchor">§</a><h3 class="code-header">impl<Q, K> Equivalent<K> for Q<div class="where">where
|
|
Q: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
|
K: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Q> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.equivalent-1" class="method trait-impl"><a href="#method.equivalent-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equivalent</a>(&self, key: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&K</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compare self to <code>key</code> and return <code>true</code> if they are equal.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBox%3Cdyn+Any%3E-for-T" class="impl"><a href="#impl-IntoBox%3Cdyn+Any%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> IntoBox<dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_box" class="method trait-impl"><a href="#method.into_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_box</a>(self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert self into the appropriate boxed form.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" class="impl"><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> IntoBox<dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_box-1" class="method trait-impl"><a href="#method.into_box-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_box</a>(self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>></h4></section></summary><div class='docblock'>Convert self into the appropriate boxed form.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBox%3Cdyn+Any+%2B+Send+%2B+Sync%3E-for-T" class="impl"><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send+%2B+Sync%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> IntoBox<dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_box-2" class="method trait-impl"><a href="#method.into_box-2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_box</a>(self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>></h4></section></summary><div class='docblock'>Convert self into the appropriate boxed form.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
|
if <code>into_left</code> is <code>true</code>.
|
|
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
|
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a><F>(self, into_left: F) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self><div class="where">where
|
|
F: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
|
if <code>into_left(&self)</code> returns <code>true</code>.
|
|
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
|
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
|
S: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-Captures%3C'a%3E-for-T" class="impl"><a href="#impl-Captures%3C'a%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T> Captures<'a> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></div></section></div></main></body></html> |