Files
phy/bevy_ecs/entity/struct.EntityLocation.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

89 lines
70 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 location of an entity in an archetype."><title>EntityLocation in bevy_ecs::entity - 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="bevy_ecs" 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="icon" href="https://bevyengine.org/assets/icon.png"></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" title="show sidebar"></button><a class="logo-container" href="../../bevy_ecs/index.html"><img src="https://bevyengine.org/assets/icon.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy_ecs/index.html"><img src="https://bevyengine.org/assets/icon.png" alt="logo"></a><h2><a href="../../bevy_ecs/index.html">bevy_<wbr>ecs</a><span class="version">0.15.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Entity<wbr>Location</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.archetype_id" title="archetype_id">archetype_id</a></li><li><a href="#structfield.archetype_row" title="archetype_row">archetype_row</a></li><li><a href="#structfield.table_id" title="table_id">table_id</a></li><li><a href="#structfield.table_row" title="table_row">table_row</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-EntityLocation" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-EntityLocation" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-EntityLocation" title="Debug">Debug</a></li><li><a href="#impl-PartialEq-for-EntityLocation" title="PartialEq">PartialEq</a></li><li><a href="#impl-QueryData-for-EntityLocation" title="QueryData">QueryData</a></li><li><a href="#impl-ReadOnlyQueryData-for-EntityLocation" title="ReadOnlyQueryData">ReadOnlyQueryData</a></li><li><a href="#impl-StructuralPartialEq-for-EntityLocation" title="StructuralPartialEq">StructuralPartialEq</a></li><li><a href="#impl-WorldQuery-for-EntityLocation" title="WorldQuery">WorldQuery</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-EntityLocation" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-EntityLocation" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-EntityLocation" title="Send">Send</a></li><li><a href="#impl-Sync-for-EntityLocation" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-EntityLocation" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-EntityLocation" 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&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-ConditionalSend-for-T" title="ConditionalSend">ConditionalSend</a></li><li><a href="#impl-Downcast-for-T" title="Downcast">Downcast</a></li><li><a href="#impl-DowncastSync-for-T" title="DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</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&#60;U&#62;">Into&#60;U&#62;</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&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-TypeData-for-T" title="TypeData">TypeData</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip&#60;V&#62;">VZip&#60;V&#62;</a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In bevy_<wbr>ecs::<wbr>entity</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">bevy_ecs</a>::<wbr><a href="index.html">entity</a></span><h1>Struct <span class="struct">EntityLocation</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/bevy_ecs/entity/mod.rs.html#989-1009">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(C)]</div>pub struct EntityLocation {
pub archetype_id: <a class="struct" href="../archetype/struct.ArchetypeId.html" title="struct bevy_ecs::archetype::ArchetypeId">ArchetypeId</a>,
pub archetype_row: <a class="struct" href="../archetype/struct.ArchetypeRow.html" title="struct bevy_ecs::archetype::ArchetypeRow">ArchetypeRow</a>,
pub table_id: <a class="struct" href="../storage/struct.TableId.html" title="struct bevy_ecs::storage::TableId">TableId</a>,
pub table_row: <a class="struct" href="../storage/struct.TableRow.html" title="struct bevy_ecs::storage::TableRow">TableRow</a>,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A location of an entity in an archetype.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.archetype_id" class="structfield section-header"><a href="#structfield.archetype_id" class="anchor field">§</a><code>archetype_id: <a class="struct" href="../archetype/struct.ArchetypeId.html" title="struct bevy_ecs::archetype::ArchetypeId">ArchetypeId</a></code></span><div class="docblock"><p>The ID of the <a href="../archetype/struct.Archetype.html" title="struct bevy_ecs::archetype::Archetype"><code>Archetype</code></a> the <a href="struct.Entity.html" title="struct bevy_ecs::entity::Entity"><code>Entity</code></a> belongs to.</p>
</div><span id="structfield.archetype_row" class="structfield section-header"><a href="#structfield.archetype_row" class="anchor field">§</a><code>archetype_row: <a class="struct" href="../archetype/struct.ArchetypeRow.html" title="struct bevy_ecs::archetype::ArchetypeRow">ArchetypeRow</a></code></span><div class="docblock"><p>The index of the <a href="struct.Entity.html" title="struct bevy_ecs::entity::Entity"><code>Entity</code></a> within its <a href="../archetype/struct.Archetype.html" title="struct bevy_ecs::archetype::Archetype"><code>Archetype</code></a>.</p>
</div><span id="structfield.table_id" class="structfield section-header"><a href="#structfield.table_id" class="anchor field">§</a><code>table_id: <a class="struct" href="../storage/struct.TableId.html" title="struct bevy_ecs::storage::TableId">TableId</a></code></span><div class="docblock"><p>The ID of the <a href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table"><code>Table</code></a> the <a href="struct.Entity.html" title="struct bevy_ecs::entity::Entity"><code>Entity</code></a> belongs to.</p>
</div><span id="structfield.table_row" class="structfield section-header"><a href="#structfield.table_row" class="anchor field">§</a><code>table_row: <a class="struct" href="../storage/struct.TableRow.html" title="struct bevy_ecs::storage::TableRow">TableRow</a></code></span><div class="docblock"><p>The index of the <a href="struct.Entity.html" title="struct bevy_ecs::entity::Entity"><code>Entity</code></a> within its <a href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table"><code>Table</code></a>.</p>
</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-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><a href="#impl-Clone-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><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>(&amp;self) -&gt; <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</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>(&amp;mut self, source: &amp;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-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><a href="#impl-Debug-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><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>(&amp;self, f: &amp;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>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</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-PartialEq-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><a href="#impl-PartialEq-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><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>(&amp;self, other: &amp;<a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a>) -&gt; <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>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <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><details class="toggle implementors-toggle" open><summary><section id="impl-QueryData-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#434-436">Source</a><a href="#impl-QueryData-for-EntityLocation" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../query/trait.QueryData.html" title="trait bevy_ecs::query::QueryData">QueryData</a> for <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section></summary><div class="docblock"><p>SAFETY: <code>Self</code> is the same as <code>Self::ReadOnly</code></p>
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.ReadOnly" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#435">Source</a><a href="#associatedtype.ReadOnly" class="anchor">§</a><h4 class="code-header">type <a href="../query/trait.QueryData.html#associatedtype.ReadOnly" class="associatedtype">ReadOnly</a> = <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h4></section></summary><div class='docblock'>The read-only variant of this <a href="../query/trait.QueryData.html" title="trait bevy_ecs::query::QueryData"><code>QueryData</code></a>, which satisfies the <a href="../query/trait.ReadOnlyQueryData.html" title="trait bevy_ecs::query::ReadOnlyQueryData"><code>ReadOnlyQueryData</code></a> trait.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WorldQuery-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#368-431">Source</a><a href="#impl-WorldQuery-for-EntityLocation" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery">WorldQuery</a> for <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section></summary><div class="docblock"><p>SAFETY:
<code>update_component_access</code> and <code>update_archetype_component_access</code> do nothing.
This is sound because <code>fetch</code> does not access components.</p>
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.IS_DENSE" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#392">Source</a><a href="#associatedconstant.IS_DENSE" class="anchor">§</a><h4 class="code-header">const <a href="../query/trait.WorldQuery.html#associatedconstant.IS_DENSE" class="constant">IS_DENSE</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a> = true</h4></section></summary><div class='docblock'>Returns true if (and only if) every table of every archetype matched by this fetch contains
all of the matched components. This is used to select a more efficient “table iterator”
for “dense” queries. If this returns true, <a href="../query/trait.WorldQuery.html#tymethod.set_table" title="associated function bevy_ecs::query::WorldQuery::set_table"><code>WorldQuery::set_table</code></a> must be used before
<a href="../query/trait.WorldQuery.html#tymethod.fetch" title="associated function bevy_ecs::query::WorldQuery::fetch"><code>WorldQuery::fetch</code></a> can be called for iterators. If this returns false,
<a href="../query/trait.WorldQuery.html#tymethod.set_archetype" title="associated function bevy_ecs::query::WorldQuery::set_archetype"><code>WorldQuery::set_archetype</code></a> must be used before <a href="../query/trait.WorldQuery.html#tymethod.fetch" title="associated function bevy_ecs::query::WorldQuery::fetch"><code>WorldQuery::fetch</code></a> can be called for
iterators.</div></details><details class="toggle" open><summary><section id="associatedtype.Item" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#369">Source</a><a href="#associatedtype.Item" class="anchor">§</a><h4 class="code-header">type <a href="../query/trait.WorldQuery.html#associatedtype.Item" class="associatedtype">Item</a>&lt;'w&gt; = <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h4></section></summary><div class='docblock'>The item returned by this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a>
For <code>QueryData</code> this will be the item returned by the query.
For <code>QueryFilter</code> this will be either <code>()</code>, or a <code>bool</code> indicating whether the entity should be included
or a tuple of such things.</div></details><details class="toggle" open><summary><section id="associatedtype.Fetch" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#370">Source</a><a href="#associatedtype.Fetch" class="anchor">§</a><h4 class="code-header">type <a href="../query/trait.WorldQuery.html#associatedtype.Fetch" class="associatedtype">Fetch</a>&lt;'w&gt; = &amp;'w <a class="struct" href="struct.Entities.html" title="struct bevy_ecs::entity::Entities">Entities</a></h4></section></summary><div class='docblock'>Per archetype/table state used by this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a> to fetch <a href="../query/trait.WorldQuery.html#associatedtype.Item" title="associated type bevy_ecs::query::WorldQuery::Item"><code>Self::Item</code></a></div></details><details class="toggle" open><summary><section id="associatedtype.State" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#371">Source</a><a href="#associatedtype.State" class="anchor">§</a><h4 class="code-header">type <a href="../query/trait.WorldQuery.html#associatedtype.State" class="associatedtype">State</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>State used to construct a <a href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="associated type bevy_ecs::query::WorldQuery::Fetch"><code>Self::Fetch</code></a>. This will be cached inside <a href="../query/struct.QueryState.html" title="struct bevy_ecs::query::QueryState"><code>QueryState</code></a>,
so it is best to move as much data / computation here as possible to reduce the cost of
constructing <a href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="associated type bevy_ecs::query::WorldQuery::Fetch"><code>Self::Fetch</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.shrink" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#373-375">Source</a><a href="#method.shrink" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.shrink" class="fn">shrink</a>&lt;'wlong: 'wshort, 'wshort&gt;(
item: Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Item" title="type bevy_ecs::query::WorldQuery::Item">Item</a>&lt;'wlong&gt;,
) -&gt; Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Item" title="type bevy_ecs::query::WorldQuery::Item">Item</a>&lt;'wshort&gt;</h4></section></summary><div class='docblock'>This function manually implements subtyping for the query items.</div></details><details class="toggle method-toggle" open><summary><section id="method.shrink_fetch" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#377-379">Source</a><a href="#method.shrink_fetch" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.shrink_fetch" class="fn">shrink_fetch</a>&lt;'wlong: 'wshort, 'wshort&gt;(
fetch: Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'wlong&gt;,
) -&gt; Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'wshort&gt;</h4></section></summary><div class='docblock'>This function manually implements subtyping for the query fetches.</div></details><details class="toggle method-toggle" open><summary><section id="method.init_fetch" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#381-388">Source</a><a href="#method.init_fetch" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../query/trait.WorldQuery.html#tymethod.init_fetch" class="fn">init_fetch</a>&lt;'w&gt;(
world: <a class="struct" href="../world/unsafe_world_cell/struct.UnsafeWorldCell.html" title="struct bevy_ecs::world::unsafe_world_cell::UnsafeWorldCell">UnsafeWorldCell</a>&lt;'w&gt;,
_state: &amp;Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>,
_last_run: <a class="struct" href="../component/struct.Tick.html" title="struct bevy_ecs::component::Tick">Tick</a>,
_this_run: <a class="struct" href="../component/struct.Tick.html" title="struct bevy_ecs::component::Tick">Tick</a>,
) -&gt; Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'w&gt;</h4></section></summary><div class='docblock'>Creates a new instance of this fetch. <a href="../query/trait.WorldQuery.html#tymethod.init_fetch">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_archetype" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#395-401">Source</a><a href="#method.set_archetype" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../query/trait.WorldQuery.html#tymethod.set_archetype" class="fn">set_archetype</a>&lt;'w&gt;(
_fetch: &amp;mut Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'w&gt;,
_state: &amp;Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>,
_archetype: &amp;'w <a class="struct" href="../archetype/struct.Archetype.html" title="struct bevy_ecs::archetype::Archetype">Archetype</a>,
_table: &amp;<a class="struct" href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table">Table</a>,
)</h4></section></summary><div class='docblock'>Adjusts internal state to account for the next <a href="../archetype/struct.Archetype.html" title="struct bevy_ecs::archetype::Archetype"><code>Archetype</code></a>. This will always be called on
archetypes that match this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a>. <a href="../query/trait.WorldQuery.html#tymethod.set_archetype">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_table" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#404-405">Source</a><a href="#method.set_table" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../query/trait.WorldQuery.html#tymethod.set_table" class="fn">set_table</a>&lt;'w&gt;(
_fetch: &amp;mut Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'w&gt;,
_state: &amp;Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>,
_table: &amp;'w <a class="struct" href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table">Table</a>,
)</h4></section></summary><div class='docblock'>Adjusts internal state to account for the next <a href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table"><code>Table</code></a>. This will always be called on tables
that match this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a>. <a href="../query/trait.WorldQuery.html#tymethod.set_table">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.fetch" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#408-415">Source</a><a href="#method.fetch" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../query/trait.WorldQuery.html#tymethod.fetch" class="fn">fetch</a>&lt;'w&gt;(
fetch: &amp;mut Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Fetch" title="type bevy_ecs::query::WorldQuery::Fetch">Fetch</a>&lt;'w&gt;,
entity: <a class="struct" href="struct.Entity.html" title="struct bevy_ecs::entity::Entity">Entity</a>,
_table_row: <a class="struct" href="../storage/struct.TableRow.html" title="struct bevy_ecs::storage::TableRow">TableRow</a>,
) -&gt; Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.Item" title="type bevy_ecs::query::WorldQuery::Item">Item</a>&lt;'w&gt;</h4></section></summary><div class='docblock'>Fetch <a href="../query/trait.WorldQuery.html#associatedtype.Item" title="associated type bevy_ecs::query::WorldQuery::Item"><code>Self::Item</code></a> for either the given <code>entity</code> in the current <a href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table"><code>Table</code></a>,
or for the given <code>entity</code> in the current <a href="../archetype/struct.Archetype.html" title="struct bevy_ecs::archetype::Archetype"><code>Archetype</code></a>. This must always be called after
<a href="../query/trait.WorldQuery.html#tymethod.set_table" title="associated function bevy_ecs::query::WorldQuery::set_table"><code>WorldQuery::set_table</code></a> with a <code>table_row</code> in the range of the current <a href="../storage/struct.Table.html" title="struct bevy_ecs::storage::Table"><code>Table</code></a> or after
<a href="../query/trait.WorldQuery.html#tymethod.set_archetype" title="associated function bevy_ecs::query::WorldQuery::set_archetype"><code>WorldQuery::set_archetype</code></a> with a <code>entity</code> in the current archetype. <a href="../query/trait.WorldQuery.html#tymethod.fetch">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update_component_access" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#417">Source</a><a href="#method.update_component_access" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.update_component_access" class="fn">update_component_access</a>(
_state: &amp;Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>,
_access: &amp;mut <a class="struct" href="../query/struct.FilteredAccess.html" title="struct bevy_ecs::query::FilteredAccess">FilteredAccess</a>&lt;<a class="struct" href="../component/struct.ComponentId.html" title="struct bevy_ecs::component::ComponentId">ComponentId</a>&gt;,
)</h4></section></summary><div class='docblock'>Adds any component accesses used by this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a> to <code>access</code>. <a href="../query/trait.WorldQuery.html#tymethod.update_component_access">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.init_state" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#419">Source</a><a href="#method.init_state" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.init_state" class="fn">init_state</a>(_world: &amp;mut <a class="struct" href="../world/struct.World.html" title="struct bevy_ecs::world::World">World</a>)</h4></section></summary><div class='docblock'>Creates and initializes a <a href="../query/trait.WorldQuery.html#associatedtype.State" title="associated type bevy_ecs::query::WorldQuery::State"><code>State</code></a> for this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a> type.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_state" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#421-423">Source</a><a href="#method.get_state" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.get_state" class="fn">get_state</a>(_components: &amp;<a class="struct" href="../component/struct.Components.html" title="struct bevy_ecs::component::Components">Components</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class='docblock'>Attempts to initialize a <a href="../query/trait.WorldQuery.html#associatedtype.State" title="associated type bevy_ecs::query::WorldQuery::State"><code>State</code></a> for this <a href="../query/trait.WorldQuery.html" title="trait bevy_ecs::query::WorldQuery"><code>WorldQuery</code></a> type using read-only
access to <a href="../component/struct.Components.html" title="struct bevy_ecs::component::Components"><code>Components</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.matches_component_set" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#425-430">Source</a><a href="#method.matches_component_set" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#tymethod.matches_component_set" class="fn">matches_component_set</a>(
_state: &amp;Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>,
_set_contains_id: &amp;impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="struct" href="../component/struct.ComponentId.html" title="struct bevy_ecs::component::ComponentId">ComponentId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <code>true</code> if this query matches a set of components. Otherwise, returns <code>false</code>. <a href="../query/trait.WorldQuery.html#tymethod.matches_component_set">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_access" class="method trait-impl"><a class="src rightside" href="../../src/bevy_ecs/query/world_query.rs.html#108">Source</a><a href="#method.set_access" class="anchor">§</a><h4 class="code-header">fn <a href="../query/trait.WorldQuery.html#method.set_access" class="fn">set_access</a>(_state: &amp;mut Self::<a class="associatedtype" href="../query/trait.WorldQuery.html#associatedtype.State" title="type bevy_ecs::query::WorldQuery::State">State</a>, _access: &amp;<a class="struct" href="../query/struct.FilteredAccess.html" title="struct bevy_ecs::query::FilteredAccess">FilteredAccess</a>&lt;<a class="struct" href="../component/struct.ComponentId.html" title="struct bevy_ecs::component::ComponentId">ComponentId</a>&gt;)</h4></section></summary><div class='docblock'>Sets available accesses for implementors with dynamic access such as <a href="../world/struct.FilteredEntityRef.html" title="struct bevy_ecs::world::FilteredEntityRef"><code>FilteredEntityRef</code></a>
or <a href="../world/struct.FilteredEntityMut.html" title="struct bevy_ecs::world::FilteredEntityMut"><code>FilteredEntityMut</code></a>. <a href="../query/trait.WorldQuery.html#method.set_access">Read more</a></div></details></div></details><section id="impl-Copy-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><a href="#impl-Copy-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-ReadOnlyQueryData-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/query/fetch.rs.html#439">Source</a><a href="#impl-ReadOnlyQueryData-for-EntityLocation" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../query/trait.ReadOnlyQueryData.html" title="trait bevy_ecs::query::ReadOnlyQueryData">ReadOnlyQueryData</a> for <a class="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><div class="docblock"><p>SAFETY: access is read only</p>
</div><section id="impl-StructuralPartialEq-for-EntityLocation" class="impl"><a class="src rightside" href="../../src/bevy_ecs/entity/mod.rs.html#987">Source</a><a href="#impl-StructuralPartialEq-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</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-EntityLocation" class="impl"><a href="#impl-Freeze-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-RefUnwindSafe-for-EntityLocation" class="impl"><a href="#impl-RefUnwindSafe-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-Send-for-EntityLocation" class="impl"><a href="#impl-Send-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-Sync-for-EntityLocation" class="impl"><a href="#impl-Sync-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-Unpin-for-EntityLocation" class="impl"><a href="#impl-Unpin-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</a></h3></section><section id="impl-UnwindSafe-for-EntityLocation" class="impl"><a href="#impl-UnwindSafe-for-EntityLocation" 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="struct" href="struct.EntityLocation.html" title="struct bevy_ecs::entity::EntityLocation">EntityLocation</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&lt;T&gt; <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>(&amp;self) -&gt; <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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; 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>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; 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>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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-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&lt;T&gt; <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>(&amp;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-Downcast-for-T" class="impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#189">Source</a><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../downcast_rs/trait.Downcast.html" title="trait downcast_rs::Downcast">Downcast</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_any" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#190">Source</a><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.Downcast.html#tymethod.into_any" class="fn">into_any</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>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can
then be further <code>downcast</code> into <code>Box&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_any_rc" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#191">Source</a><a href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.Downcast.html#tymethod.into_any_rc" class="fn">into_any_rc</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Rc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Rc&lt;Any&gt;</code>. <code>Rc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Rc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#192">Source</a><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.Downcast.html#tymethod.as_any" class="fn">as_any</a>(&amp;self) -&gt; &amp;(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> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&amp;Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;Any</code>s vtable from <code>&amp;Trait</code>s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#193">Source</a><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.Downcast.html#tymethod.as_any_mut" class="fn">as_any_mut</a>(&amp;mut self) -&gt; &amp;mut (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> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&amp;mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&amp;Any</code>. This is needed since Rust cannot
generate <code>&amp;mut Any</code>s vtable from <code>&amp;mut Trait</code>s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#203">Source</a><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../downcast_rs/trait.DowncastSync.html" title="trait downcast_rs::DowncastSync">DowncastSync</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_any_arc" class="method trait-impl"><a class="src rightside" href="../../src/downcast_rs/lib.rs.html#204">Source</a><a href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../../downcast_rs/trait.DowncastSync.html#tymethod.into_any_arc" class="fn">into_any_arc</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;T&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;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>&gt;</h4></section></summary><div class='docblock'>Convert <code>Arc&lt;Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Arc&lt;Any&gt;</code>. <code>Arc&lt;Any&gt;</code> can then be
further <code>downcast</code> into <code>Arc&lt;ConcreteType&gt;</code> where <code>ConcreteType</code> implements <code>Trait</code>.</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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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) -&gt; 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 class="src rightside" href="../../src/tracing/instrument.rs.html#325">Source</a><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> 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 class="src rightside" href="../../src/tracing/instrument.rs.html#86">Source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../../tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -&gt; <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a class="src rightside" href="../../src/tracing/instrument.rs.html#128">Source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -&gt; <a class="struct" href="../../tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="../../tracing/span/struct.Span.html#method.current" title="associated function tracing::span::Span::current">current</a> <a href="../../tracing/span/struct.Span.html" title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="../../tracing/instrument/trait.Instrument.html#method.in_current_span">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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; 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>&lt;T&gt;,</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) -&gt; 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>&lt;T&gt; for U</code> chooses to do.</p>
</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&lt;T&gt; <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>(&amp;self) -&gt; 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>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; 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>&lt;T&gt;,</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) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<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>&gt;</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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; 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>&lt;T&gt;,</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> = &lt;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>&lt;T&gt;&gt;::<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) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<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>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TypeData-for-T" class="impl"><a class="src rightside" href="../../src/bevy_reflect/type_registry.rs.html#650-652">Source</a><a href="#impl-TypeData-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../bevy_reflect/type_registry/trait.TypeData.html" title="trait bevy_reflect::type_registry::TypeData">TypeData</a> for T<div class="where">where
T: 'static + <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> + <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"><section id="method.clone_type_data" class="method trait-impl"><a class="src rightside" href="../../src/bevy_reflect/type_registry.rs.html#654">Source</a><a href="#method.clone_type_data" class="anchor">§</a><h4 class="code-header">fn <a href="../../bevy_reflect/type_registry/trait.TypeData.html#tymethod.clone_type_data" class="fn">clone_type_data</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../bevy_reflect/type_registry/trait.TypeData.html" title="trait bevy_reflect::type_registry::TypeData">TypeData</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a class="src rightside" href="../../src/ppv_lite86/types.rs.html#221-223">Source</a><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; <a class="trait" href="../../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a>&lt;V&gt; for T<div class="where">where
V: <a class="trait" href="../../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a class="src rightside" href="../../src/ppv_lite86/types.rs.html#226">Source</a><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a href="../../ppv_lite86/types/trait.VZip.html#tymethod.vzip" class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a class="src rightside" href="../../src/tracing/instrument.rs.html#393">Source</a><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> 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 class="src rightside" href="../../src/tracing/instrument.rs.html#176-178">Source</a><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; <a class="struct" href="../../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;<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>&lt;<a class="struct" href="../../tracing_core/dispatcher/struct.Dispatch.html" title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="../../tracing_core/subscriber/trait.Subscriber.html" title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
<a href="../../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a class="src rightside" href="../../src/tracing/instrument.rs.html#228">Source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="../../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="../../tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod tracing::dispatcher">default</a> <a href="../../tracing_core/subscriber/trait.Subscriber.html" title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
<a href="../../tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-ConditionalSend-for-T" class="impl"><a class="src rightside" href="../../src/bevy_utils/lib.rs.html#65">Source</a><a href="#impl-ConditionalSend-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../bevy_utils/conditional_send/trait.ConditionalSend.html" title="trait bevy_utils::conditional_send::ConditionalSend">ConditionalSend</a> for T<div class="where">where
T: <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></div></section></div></main></body></html>