56 lines
52 KiB
HTML
56 lines
52 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `CheatCtx` struct in crate `csflow`."><title>CheatCtx in csflow - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-fa3bb1812debf86c.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="csflow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.74.0 (79e9716c9 2023-11-13)" data-channel="1.74.0" data-search-js="search-8be46b629f5f14a8.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-c5bd66d33317d69f.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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">☰</button><a class="logo-container" href="../csflow/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a></nav><nav class="sidebar"><a class="logo-container" href="../csflow/index.html"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">CheatCtx</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block"><li><a href="#structfield.client_module">client_module</a></li><li><a href="#structfield.engine_module">engine_module</a></li><li><a href="#structfield.process">process</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.get_entity_list">get_entity_list</a></li><li><a href="#method.get_globals">get_globals</a></li><li><a href="#method.get_local">get_local</a></li><li><a href="#method.get_plantedc4">get_plantedc4</a></li><li><a href="#method.highest_entity_index">highest_entity_index</a></li><li><a href="#method.is_bomb_dropped">is_bomb_dropped</a></li><li><a href="#method.is_bomb_planted">is_bomb_planted</a></li><li><a href="#method.map_name">map_name</a></li><li><a href="#method.network_is_ingame">network_is_ingame</a></li><li><a href="#method.setup">setup</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-UnwindSafe-for-CheatCtx">!UnwindSafe</a></li><li><a href="#impl-RefUnwindSafe-for-CheatCtx">RefUnwindSafe</a></li><li><a href="#impl-Send-for-CheatCtx">Send</a></li><li><a href="#impl-Sync-for-CheatCtx">Sync</a></li><li><a href="#impl-Unpin-for-CheatCtx">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-CheatCtx">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-CheatCtx">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-CheatCtx">BorrowMut<T></a></li><li><a href="#impl-From2%3CT%3E-for-CheatCtx">From2<T></a></li><li><a href="#impl-From%3CT%3E-for-CheatCtx">From<T></a></li><li><a href="#impl-GetWithMetadata-for-CheatCtx">GetWithMetadata</a></li><li><a href="#impl-Into%3CU%3E-for-CheatCtx">Into<U></a></li><li><a href="#impl-ROExtAcc-for-CheatCtx">ROExtAcc</a></li><li><a href="#impl-ROExtOps%3CAligned%3E-for-CheatCtx">ROExtOps<Aligned></a></li><li><a href="#impl-ROExtOps%3CUnaligned%3E-for-CheatCtx">ROExtOps<Unaligned></a></li><li><a href="#impl-SelfOps-for-CheatCtx">SelfOps</a></li><li><a href="#impl-TransmuteElement-for-CheatCtx">TransmuteElement</a></li><li><a href="#impl-TryFrom%3CU%3E-for-CheatCtx">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-CheatCtx">TryInto<U></a></li><li><a href="#impl-TypeIdentity-for-CheatCtx">TypeIdentity</a></li></ul></section><h2><a href="index.html">In csflow</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">csflow</a>::<wbr><a class="struct" href="#">CheatCtx</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/csflow/context.rs.html#5-9">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct CheatCtx {
|
||
pub process: IntoProcessInstanceArcBox<'static>,
|
||
pub client_module: ModuleInfo,
|
||
pub engine_module: ModuleInfo,
|
||
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.process" class="structfield small-section-header"><a href="#structfield.process" class="anchor field">§</a><code>process: IntoProcessInstanceArcBox<'static></code></span><span id="structfield.client_module" class="structfield small-section-header"><a href="#structfield.client_module" class="anchor field">§</a><code>client_module: ModuleInfo</code></span><span id="structfield.engine_module" class="structfield small-section-header"><a href="#structfield.engine_module" class="anchor field">§</a><code>engine_module: ModuleInfo</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-CheatCtx" class="impl"><a class="src rightside" href="../src/csflow/context.rs.html#11-112">source</a><a href="#impl-CheatCtx" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section></summary><div class="impl-items"><section id="method.setup" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#23-61">source</a><h4 class="code-header">pub fn <a href="#method.setup" class="fn">setup</a>(
|
||
connector: <a class="enum" href="enum.Connector.html" title="enum csflow::Connector">Connector</a>,
|
||
pcileech_device: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.get_local" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#63-66">source</a><h4 class="code-header">pub fn <a href="#method.get_local" class="fn">get_local</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="structs/struct.CPlayerController.html" title="struct csflow::structs::CPlayerController">CPlayerController</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.get_plantedc4" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#68-72">source</a><h4 class="code-header">pub fn <a href="#method.get_plantedc4" class="fn">get_plantedc4</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="structs/struct.CBaseEntity.html" title="struct csflow::structs::CBaseEntity">CBaseEntity</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.is_bomb_planted" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#74-78">source</a><h4 class="code-header">pub fn <a href="#method.is_bomb_planted" class="fn">is_bomb_planted</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.is_bomb_dropped" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#80-84">source</a><h4 class="code-header">pub fn <a href="#method.is_bomb_dropped" class="fn">is_bomb_dropped</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.get_entity_list" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#86-89">source</a><h4 class="code-header">pub fn <a href="#method.get_entity_list" class="fn">get_entity_list</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Address, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.get_globals" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#91-94">source</a><h4 class="code-header">pub fn <a href="#method.get_globals" class="fn">get_globals</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Address, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.map_name" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#96-99">source</a><h4 class="code-header">pub fn <a href="#method.map_name" class="fn">map_name</a>(&mut self, global_vars: Address) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.highest_entity_index" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#101-105">source</a><h4 class="code-header">pub fn <a href="#method.highest_entity_index" class="fn">highest_entity_index</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.i32.html">i32</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section><section id="method.network_is_ingame" class="method"><a class="src rightside" href="../src/csflow/context.rs.html#107-111">source</a><h4 class="code-header">pub fn <a href="#method.network_is_ingame" class="fn">network_is_ingame</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.74.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a>, <a class="enum" href="enum.Error.html" title="enum csflow::Error">Error</a>></h4></section></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-CheatCtx" class="impl"><a href="#impl-RefUnwindSafe-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section><section id="impl-Send-for-CheatCtx" class="impl"><a href="#impl-Send-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section><section id="impl-Sync-for-CheatCtx" class="impl"><a href="#impl-Sync-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section><section id="impl-Unpin-for-CheatCtx" class="impl"><a href="#impl-Unpin-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section><section id="impl-UnwindSafe-for-CheatCtx" class="impl"><a href="#impl-UnwindSafe-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.CheatCtx.html" title="struct csflow::CheatCtx">CheatCtx</a></h3></section></div><h2 id="blanket-implementations" class="small-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-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></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.74.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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.74.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.74.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-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></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.74.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.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.74.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-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></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.74.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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.74.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.74.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-From%3CT%3E-for-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#722">source</a><a href="#impl-From%3CT%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.74.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.74.0/src/core/convert/mod.rs.html#725">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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-From2%3CT%3E-for-CheatCtx" class="impl"><a href="#impl-From2%3CT%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T, F> From2<T> for F<span class="where fmt-newline">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><F>,</span></h3></section></summary><div class="impl-items"><section id="method.from2" class="method trait-impl"><a href="#method.from2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from2</a>(other: T) -> F</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-GetWithMetadata-for-CheatCtx" class="impl"><a href="#impl-GetWithMetadata-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> GetWithMetadata for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.ForSelf" class="associatedtype trait-impl"><a href="#associatedtype.ForSelf" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">ForSelf</a> = WithMetadata_<T, T></h4></section></summary><div class='docblock'>This is always <code>WithMetadata_<Self, Self></code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#706">source</a><a href="#impl-Into%3CU%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></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.74.0/src/core/convert/mod.rs.html#715">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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.74.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-ROExtAcc-for-CheatCtx" class="impl"><a href="#impl-ROExtAcc-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<S> ROExtAcc for S</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.f_get" class="method trait-impl"><a href="#method.f_get" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get</a><F>(&self, offset: FieldOffset<S, F, Aligned>) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&F</a></h4></section></summary><div class='docblock'>Gets a reference to a field, determined by <code>offset</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_get_mut" class="method trait-impl"><a href="#method.f_get_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get_mut</a><F>(&mut self, offset: FieldOffset<S, F, Aligned>) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut F</a></h4></section></summary><div class='docblock'>Gets a muatble reference to a field, determined by <code>offset</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_get_ptr" class="method trait-impl"><a href="#method.f_get_ptr" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get_ptr</a><F, A>(&self, offset: FieldOffset<S, F, A>) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.pointer.html">*const F</a></h4></section></summary><div class='docblock'>Gets a const pointer to a field,
|
||
the field is determined by <code>offset</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_get_mut_ptr" class="method trait-impl"><a href="#method.f_get_mut_ptr" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get_mut_ptr</a><F, A>(&mut self, offset: FieldOffset<S, F, A>) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.pointer.html">*mut F</a></h4></section></summary><div class='docblock'>Gets a mutable pointer to a field, determined by <code>offset</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ROExtOps%3CAligned%3E-for-CheatCtx" class="impl"><a href="#impl-ROExtOps%3CAligned%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<S> ROExtOps<Aligned> for S</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.f_replace-1" class="method trait-impl"><a href="#method.f_replace-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_replace</a><F>(&mut self, offset: FieldOffset<S, F, Aligned>, value: F) -> F</h4></section></summary><div class='docblock'>Replaces a field (determined by <code>offset</code>) with <code>value</code>,
|
||
returning the previous value of the field. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_swap-1" class="method trait-impl"><a href="#method.f_swap-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_swap</a><F>(&mut self, offset: FieldOffset<S, F, Aligned>, right: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut S</a>)</h4></section></summary><div class='docblock'>Swaps a field (determined by <code>offset</code>) with the same field in <code>right</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_get_copy-1" class="method trait-impl"><a href="#method.f_get_copy-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get_copy</a><F>(&self, offset: FieldOffset<S, F, Aligned>) -> F<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,</span></h4></section></summary><div class='docblock'>Gets a copy of a field (determined by <code>offset</code>).
|
||
The field is determined by <code>offset</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ROExtOps%3CUnaligned%3E-for-CheatCtx" class="impl"><a href="#impl-ROExtOps%3CUnaligned%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<S> ROExtOps<Unaligned> for S</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.f_replace" class="method trait-impl"><a href="#method.f_replace" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_replace</a><F>(&mut self, offset: FieldOffset<S, F, Unaligned>, value: F) -> F</h4></section></summary><div class='docblock'>Replaces a field (determined by <code>offset</code>) with <code>value</code>,
|
||
returning the previous value of the field. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_swap" class="method trait-impl"><a href="#method.f_swap" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_swap</a><F>(&mut self, offset: FieldOffset<S, F, Unaligned>, right: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut S</a>)</h4></section></summary><div class='docblock'>Swaps a field (determined by <code>offset</code>) with the same field in <code>right</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.f_get_copy" class="method trait-impl"><a href="#method.f_get_copy" class="anchor">§</a><h4 class="code-header">fn <a class="fn">f_get_copy</a><F>(&self, offset: FieldOffset<S, F, Unaligned>) -> F<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,</span></h4></section></summary><div class='docblock'>Gets a copy of a field (determined by <code>offset</code>).
|
||
The field is determined by <code>offset</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SelfOps-for-CheatCtx" class="impl"><a href="#impl-SelfOps-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> SelfOps for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq_id" class="method trait-impl"><a href="#method.eq_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">eq_id</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&Self</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Compares the address of <code>self</code> with the address of <code>other</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.piped" class="method trait-impl"><a href="#method.piped" class="anchor">§</a><h4 class="code-header">fn <a class="fn">piped</a><F, U>(self, f: F) -> U<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -> U,
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Emulates the pipeline operator, allowing method syntax in more places. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.piped_ref" class="method trait-impl"><a href="#method.piped_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">piped_ref</a><'a, F, U>(&'a self, f: F) -> U<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&'a Self</a>) -> U,</span></h4></section></summary><div class='docblock'>The same as <code>piped</code> except that the function takes <code>&Self</code>
|
||
Useful for functions that take <code>&Self</code> instead of <code>Self</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.piped_mut" class="method trait-impl"><a href="#method.piped_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">piped_mut</a><'a, F, U>(&'a mut self, f: F) -> U<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&'a mut Self</a>) -> U,</span></h4></section></summary><div class='docblock'>The same as <code>piped</code>, except that the function takes <code>&mut Self</code>.
|
||
Useful for functions that take <code>&mut Self</code> instead of <code>Self</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mutated" class="method trait-impl"><a href="#method.mutated" class="anchor">§</a><h4 class="code-header">fn <a class="fn">mutated</a><F>(self, f: F) -> Self<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut Self</a>),
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Mutates self using a closure taking self by mutable reference,
|
||
passing it along the method chain. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.observe" class="method trait-impl"><a href="#method.observe" class="anchor">§</a><h4 class="code-header">fn <a class="fn">observe</a><F>(self, f: F) -> Self<span class="where fmt-newline">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&Self</a>),
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Observes the value of self, passing it along unmodified.
|
||
Useful in long method chains. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_" class="method trait-impl"><a href="#method.into_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_</a><T>(self) -> T<span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h4></section></summary><div class='docblock'>Performs a conversion with <code>Into</code>.
|
||
using the turbofish <code>.into_::<_>()</code> syntax. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_ref_" class="method trait-impl"><a href="#method.as_ref_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_ref_</a><T>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&T</a><span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Performs a reference to reference conversion with <code>AsRef</code>,
|
||
using the turbofish <code>.as_ref_::<_>()</code> syntax. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.as_mut_" class="method trait-impl"><a href="#method.as_mut_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_mut_</a><T>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut T</a><span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Performs a mutable reference to mutable reference conversion with <code>AsMut</code>,
|
||
using the turbofish <code>.as_mut_::<_>()</code> syntax. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop_" class="method trait-impl"><a href="#method.drop_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">drop_</a>(self)<span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Drops <code>self</code> using method notation.
|
||
Alternative to <code>std::mem::drop</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TransmuteElement-for-CheatCtx" class="impl"><a href="#impl-TransmuteElement-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<This> TransmuteElement for This<span class="where fmt-newline">where
|
||
This: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.transmute_element" class="method trait-impl"><a href="#method.transmute_element" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">transmute_element</a><T>(self) -> Self::TransmutedPtr<span class="where fmt-newline">where
|
||
Self: CanTransmuteElement<T>,</span></h4></section></summary><div class='docblock'>Transmutes the element type of this pointer.. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#762">source</a><a href="#impl-TryFrom%3CU%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.74.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.74.0/src/core/convert/mod.rs.html#769">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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.74.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.74.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.74.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-CheatCtx" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.74.0/src/core/convert/mod.rs.html#747">source</a><a href="#impl-TryInto%3CU%3E-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.74.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.74.0/src/core/convert/mod.rs.html#754">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.74.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.74.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.74.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.74.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-TypeIdentity-for-CheatCtx" class="impl"><a href="#impl-TypeIdentity-for-CheatCtx" class="anchor">§</a><h3 class="code-header">impl<T> TypeIdentity for T<span class="where fmt-newline">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Type" class="associatedtype trait-impl"><a href="#associatedtype.Type" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Type</a> = T</h4></section></summary><div class='docblock'>This is always <code>Self</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_type" class="method trait-impl"><a href="#method.into_type" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_type</a>(self) -> Self::Type<span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
Self::Type: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Converts a value back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_type" class="method trait-impl"><a href="#method.as_type" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_type</a>(&self) -> &Self::Type</h4></section></summary><div class='docblock'>Converts a reference back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_type_mut" class="method trait-impl"><a href="#method.as_type_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_type_mut</a>(&mut self) -> &mut Self::Type</h4></section></summary><div class='docblock'>Converts a mutable reference back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_type_box" class="method trait-impl"><a href="#method.into_type_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_type_box</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts a box back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_type_arc" class="method trait-impl"><a href="#method.into_type_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_type_arc</a>(this: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts an Arc back to the original type. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_type_rc" class="method trait-impl"><a href="#method.into_type_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_type_rc</a>(this: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts an Rc back to the original type. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_type" class="method trait-impl"><a href="#method.from_type" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type</a>(this: Self::Type) -> Self<span class="where fmt-newline">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
Self::Type: <a class="trait" href="https://doc.rust-lang.org/1.74.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></section></summary><div class='docblock'>Converts a value back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_type_ref" class="method trait-impl"><a href="#method.from_type_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type_ref</a>(this: &Self::Type) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&Self</a></h4></section></summary><div class='docblock'>Converts a reference back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_type_mut" class="method trait-impl"><a href="#method.from_type_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type_mut</a>(this: &mut Self::Type) -> <a class="primitive" href="https://doc.rust-lang.org/1.74.0/std/primitive.reference.html">&mut Self</a></h4></section></summary><div class='docblock'>Converts a mutable reference back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_type_box" class="method trait-impl"><a href="#method.from_type_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type_box</a>(this: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts a box back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_type_arc" class="method trait-impl"><a href="#method.from_type_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type_arc</a>(this: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts an Arc back to the original type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_type_rc" class="method trait-impl"><a href="#method.from_type_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_type_rc</a>(this: <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self::Type, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>) -> <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self, <a class="struct" href="https://doc.rust-lang.org/1.74.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>></h4></section></summary><div class='docblock'>Converts an Rc back to the original type.</div></details></div></details></div></section></div></main></body></html> |