Files
phy/bevy_ecs/system/trait.IntoSystem.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

54 lines
24 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="Conversion trait to turn something into a `System`."><title>IntoSystem in bevy_ecs::system - 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 trait"><!--[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="#">Into<wbr>System</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.System" title="System">System</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.into_system" title="into_system">into_system</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.map" title="map">map</a></li><li><a href="#method.pipe" title="pipe">pipe</a></li><li><a href="#method.system_type_id" title="system_type_id">system_type_id</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In bevy_<wbr>ecs::<wbr>system</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">system</a></span><h1>Trait <span class="trait">IntoSystem</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/system/mod.rs.html#170-221">Source</a> </span></div><pre class="rust item-decl"><code>pub trait IntoSystem&lt;In: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>, Out, Marker&gt;: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
type <a href="#associatedtype.System" class="associatedtype">System</a>: <a class="trait" href="trait.System.html" title="trait bevy_ecs::system::System">System</a>&lt;In = In, Out = Out&gt;;
// Required method
fn <a href="#tymethod.into_system" class="fn">into_system</a>(this: Self) -&gt; Self::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>;
// Provided methods
fn <a href="#method.pipe" class="fn">pipe</a>&lt;B, BIn, BOut, MarkerB&gt;(self, system: B) -&gt; <a class="struct" href="struct.IntoPipeSystem.html" title="struct bevy_ecs::system::IntoPipeSystem">IntoPipeSystem</a>&lt;Self, B&gt;
<span class="where">where Out: 'static,
B: <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;BIn, BOut, MarkerB&gt;,
for&lt;'a&gt; BIn: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>&lt;Inner&lt;'a&gt; = Out&gt;</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.map" class="fn">map</a>&lt;T, F&gt;(self, f: F) -&gt; <a class="struct" href="struct.IntoAdapterSystem.html" title="struct bevy_ecs::system::IntoAdapterSystem">IntoAdapterSystem</a>&lt;F, Self&gt;
<span class="where">where F: <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> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Out) -&gt; T</span> { ... }
<span class="item-spacer"></span> fn <a href="#method.system_type_id" class="fn">system_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> { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Conversion trait to turn something into a <a href="trait.System.html" title="trait bevy_ecs::system::System"><code>System</code></a>.</p>
<p>Use this to get a system from a function. Also note that every system implements this trait as
well.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>bevy_ecs::prelude::<span class="kw-2">*</span>;
<span class="kw">fn </span>my_system_function(a_usize_local: Local&lt;usize&gt;) {}
<span class="kw">let </span>system = IntoSystem::into_system(my_system_function);</code></pre></div>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.System" class="method"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#172">Source</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a>: <a class="trait" href="trait.System.html" title="trait bevy_ecs::system::System">System</a>&lt;In = In, Out = Out&gt;</h4></section></summary><div class="docblock"><p>The type of <a href="trait.System.html" title="trait bevy_ecs::system::System"><code>System</code></a> that this instance converts into.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.into_system" class="method"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#175">Source</a><h4 class="code-header">fn <a href="#tymethod.into_system" class="fn">into_system</a>(this: Self) -&gt; Self::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a></h4></section></summary><div class="docblock"><p>Turns this value into its corresponding <a href="trait.System.html" title="trait bevy_ecs::system::System"><code>System</code></a>.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pipe" class="method"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#181-188">Source</a><h4 class="code-header">fn <a href="#method.pipe" class="fn">pipe</a>&lt;B, BIn, BOut, MarkerB&gt;(self, system: B) -&gt; <a class="struct" href="struct.IntoPipeSystem.html" title="struct bevy_ecs::system::IntoPipeSystem">IntoPipeSystem</a>&lt;Self, B&gt;<div class="where">where
Out: 'static,
B: <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;BIn, BOut, MarkerB&gt;,
for&lt;'a&gt; BIn: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>&lt;Inner&lt;'a&gt; = Out&gt;,</div></h4></section></summary><div class="docblock"><p>Pass the output of this system <code>A</code> into a second system <code>B</code>, creating a new compound system.</p>
<p>The second system must have <a href="struct.In.html" title="struct bevy_ecs::system::In"><code>In&lt;T&gt;</code></a> as its first parameter,
where <code>T</code> is the return type of the first system.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.map" class="method"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#209-214">Source</a><h4 class="code-header">fn <a href="#method.map" class="fn">map</a>&lt;T, F&gt;(self, f: F) -&gt; <a class="struct" href="struct.IntoAdapterSystem.html" title="struct bevy_ecs::system::IntoAdapterSystem">IntoAdapterSystem</a>&lt;F, Self&gt;<div class="where">where
F: <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> + 'static + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Out) -&gt; T,</div></h4></section></summary><div class="docblock"><p>Pass the output of this system into the passed function <code>f</code>, creating a new system that
outputs the value returned from the function.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="comment">// Ignores the output of a system that may fail.
</span>schedule.add_systems(my_system.map(drop));
<span class="kw">fn </span>my_system(res: Res&lt;T&gt;) -&gt; <span class="prelude-ty">Result</span>&lt;(), <span class="prelude-val">Err</span>&gt; {
<span class="comment">// ...
</span>}</code></pre></div>
</div></details><details class="toggle method-toggle" open><summary><section id="method.system_type_id" class="method"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#218-220">Source</a><h4 class="code-header">fn <a href="#method.system_type_id" class="fn">system_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"><p>Get the <a href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId"><code>TypeId</code></a> of the <a href="trait.System.html" title="trait bevy_ecs::system::System"><code>System</code></a> produced after calling <a href="trait.IntoSystem.html#tymethod.into_system" title="associated function bevy_ecs::system::IntoSystem::into_system"><code>into_system</code></a>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.0/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-IntoSystem%3CIA,+OB,+(IsPipeSystemMarker,+OA,+IB,+MA,+MB)%3E-for-IntoPipeSystem%3CA,+B%3E" class="impl"><a class="src rightside" href="../../src/bevy_ecs/system/combinator.rs.html#294-310">Source</a><a href="#impl-IntoSystem%3CIA,+OB,+(IsPipeSystemMarker,+OA,+IB,+MA,+MB)%3E-for-IntoPipeSystem%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B, IA, OA, IB, OB, MA, MB&gt; <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;IA, OB, (IsPipeSystemMarker, OA, IB, MA, MB)&gt; for <a class="struct" href="struct.IntoPipeSystem.html" title="struct bevy_ecs::system::IntoPipeSystem">IntoPipeSystem</a>&lt;A, B&gt;<div class="where">where
IA: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>,
A: <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;IA, OA, MA&gt;,
B: <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;IB, OB, MB&gt;,
for&lt;'a&gt; IB: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>&lt;Inner&lt;'a&gt; = OA&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.System-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/system/combinator.rs.html#302">Source</a><a href="#associatedtype.System-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a> = <a class="struct" href="struct.PipeSystem.html" title="struct bevy_ecs::system::PipeSystem">PipeSystem</a>&lt;&lt;A as <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;IA, OA, MA&gt;&gt;::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>, &lt;B as <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;IB, OB, MB&gt;&gt;::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSystem%3C%3CFunc+as+Adapt%3C%3CS+as+IntoSystem%3CI,+O,+M%3E%3E::System%3E%3E::In,+%3CFunc+as+Adapt%3C%3CS+as+IntoSystem%3CI,+O,+M%3E%3E::System%3E%3E::Out,+(IsAdapterSystemMarker,+I,+O,+M)%3E-for-IntoAdapterSystem%3CFunc,+S%3E" class="impl"><a class="src rightside" href="../../src/bevy_ecs/system/adapter_system.rs.html#82-97">Source</a><a href="#impl-IntoSystem%3C%3CFunc+as+Adapt%3C%3CS+as+IntoSystem%3CI,+O,+M%3E%3E::System%3E%3E::In,+%3CFunc+as+Adapt%3C%3CS+as+IntoSystem%3CI,+O,+M%3E%3E::System%3E%3E::Out,+(IsAdapterSystemMarker,+I,+O,+M)%3E-for-IntoAdapterSystem%3CFunc,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Func, S, I, O, M&gt; <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;&lt;Func as <a class="trait" href="trait.Adapt.html" title="trait bevy_ecs::system::Adapt">Adapt</a>&lt;&lt;S as <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;I, O, M&gt;&gt;::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>&gt;&gt;::<a class="associatedtype" href="trait.Adapt.html#associatedtype.In" title="type bevy_ecs::system::Adapt::In">In</a>, &lt;Func as <a class="trait" href="trait.Adapt.html" title="trait bevy_ecs::system::Adapt">Adapt</a>&lt;&lt;S as <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;I, O, M&gt;&gt;::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>&gt;&gt;::<a class="associatedtype" href="trait.Adapt.html#associatedtype.Out" title="type bevy_ecs::system::Adapt::Out">Out</a>, (IsAdapterSystemMarker, I, O, M)&gt; for <a class="struct" href="struct.IntoAdapterSystem.html" title="struct bevy_ecs::system::IntoAdapterSystem">IntoAdapterSystem</a>&lt;Func, S&gt;<div class="where">where
Func: <a class="trait" href="trait.Adapt.html" title="trait bevy_ecs::system::Adapt">Adapt</a>&lt;S::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>&gt;,
I: <a class="trait" href="trait.SystemInput.html" title="trait bevy_ecs::system::SystemInput">SystemInput</a>,
S: <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;I, O, M&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.System-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/system/adapter_system.rs.html#89">Source</a><a href="#associatedtype.System-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a> = <a class="struct" href="struct.AdapterSystem.html" title="struct bevy_ecs::system::AdapterSystem">AdapterSystem</a>&lt;Func, &lt;S as <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;I, O, M&gt;&gt;::<a class="associatedtype" href="trait.IntoSystem.html#associatedtype.System" title="type bevy_ecs::system::IntoSystem::System">System</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSystem%3C%3CF+as+ExclusiveSystemParamFunction%3CMarker%3E%3E::In,+%3CF+as+ExclusiveSystemParamFunction%3CMarker%3E%3E::Out,+(IsExclusiveFunctionSystem,+Marker)%3E-for-F" class="impl"><a class="src rightside" href="../../src/bevy_ecs/system/exclusive_function_system.rs.html#51-65">Source</a><a href="#impl-IntoSystem%3C%3CF+as+ExclusiveSystemParamFunction%3CMarker%3E%3E::In,+%3CF+as+ExclusiveSystemParamFunction%3CMarker%3E%3E::Out,+(IsExclusiveFunctionSystem,+Marker)%3E-for-F" class="anchor">§</a><h3 class="code-header">impl&lt;Marker, F&gt; <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;&lt;F as <a class="trait" href="trait.ExclusiveSystemParamFunction.html" title="trait bevy_ecs::system::ExclusiveSystemParamFunction">ExclusiveSystemParamFunction</a>&lt;Marker&gt;&gt;::<a class="associatedtype" href="trait.ExclusiveSystemParamFunction.html#associatedtype.In" title="type bevy_ecs::system::ExclusiveSystemParamFunction::In">In</a>, &lt;F as <a class="trait" href="trait.ExclusiveSystemParamFunction.html" title="trait bevy_ecs::system::ExclusiveSystemParamFunction">ExclusiveSystemParamFunction</a>&lt;Marker&gt;&gt;::<a class="associatedtype" href="trait.ExclusiveSystemParamFunction.html#associatedtype.Out" title="type bevy_ecs::system::ExclusiveSystemParamFunction::Out">Out</a>, (IsExclusiveFunctionSystem, Marker)&gt; for F<div class="where">where
Marker: 'static,
F: <a class="trait" href="trait.ExclusiveSystemParamFunction.html" title="trait bevy_ecs::system::ExclusiveSystemParamFunction">ExclusiveSystemParamFunction</a>&lt;Marker&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.System-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/system/exclusive_function_system.rs.html#56">Source</a><a href="#associatedtype.System-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a> = <a class="struct" href="struct.ExclusiveFunctionSystem.html" title="struct bevy_ecs::system::ExclusiveFunctionSystem">ExclusiveFunctionSystem</a>&lt;Marker, F&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSystem%3C%3CF+as+SystemParamFunction%3CMarker%3E%3E::In,+%3CF+as+SystemParamFunction%3CMarker%3E%3E::Out,+(IsFunctionSystem,+Marker)%3E-for-F" class="impl"><a class="src rightside" href="../../src/bevy_ecs/system/function_system.rs.html#710-726">Source</a><a href="#impl-IntoSystem%3C%3CF+as+SystemParamFunction%3CMarker%3E%3E::In,+%3CF+as+SystemParamFunction%3CMarker%3E%3E::Out,+(IsFunctionSystem,+Marker)%3E-for-F" class="anchor">§</a><h3 class="code-header">impl&lt;Marker, F&gt; <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;&lt;F as <a class="trait" href="trait.SystemParamFunction.html" title="trait bevy_ecs::system::SystemParamFunction">SystemParamFunction</a>&lt;Marker&gt;&gt;::<a class="associatedtype" href="trait.SystemParamFunction.html#associatedtype.In" title="type bevy_ecs::system::SystemParamFunction::In">In</a>, &lt;F as <a class="trait" href="trait.SystemParamFunction.html" title="trait bevy_ecs::system::SystemParamFunction">SystemParamFunction</a>&lt;Marker&gt;&gt;::<a class="associatedtype" href="trait.SystemParamFunction.html#associatedtype.Out" title="type bevy_ecs::system::SystemParamFunction::Out">Out</a>, (IsFunctionSystem, Marker)&gt; for F<div class="where">where
Marker: 'static,
F: <a class="trait" href="trait.SystemParamFunction.html" title="trait bevy_ecs::system::SystemParamFunction">SystemParamFunction</a>&lt;Marker&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.System-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/system/function_system.rs.html#715">Source</a><a href="#associatedtype.System-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a> = <a class="struct" href="struct.FunctionSystem.html" title="struct bevy_ecs::system::FunctionSystem">FunctionSystem</a>&lt;Marker, F&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSystem%3C%3CT+as+System%3E::In,+%3CT+as+System%3E::Out,+()%3E-for-T" class="impl"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#224-229">Source</a><a href="#impl-IntoSystem%3C%3CT+as+System%3E::In,+%3CT+as+System%3E::Out,+()%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="trait.System.html" title="trait bevy_ecs::system::System">System</a>&gt; <a class="trait" href="trait.IntoSystem.html" title="trait bevy_ecs::system::IntoSystem">IntoSystem</a>&lt;&lt;T as <a class="trait" href="trait.System.html" title="trait bevy_ecs::system::System">System</a>&gt;::<a class="associatedtype" href="trait.System.html#associatedtype.In" title="type bevy_ecs::system::System::In">In</a>, &lt;T as <a class="trait" href="trait.System.html" title="trait bevy_ecs::system::System">System</a>&gt;::<a class="associatedtype" href="trait.System.html#associatedtype.Out" title="type bevy_ecs::system::System::Out">Out</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>&gt; for T</h3></section></summary><div class="impl-items"><section id="associatedtype.System-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/bevy_ecs/system/mod.rs.html#225">Source</a><a href="#associatedtype.System-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.System" class="associatedtype">System</a> = T</h4></section></div></details></div><script src="../../trait.impl/bevy_ecs/system/trait.IntoSystem.js" async></script></section></div></main></body></html>