mirror of
https://github.com/bevyengine/bevy
synced 2024-12-03 18:09:12 +00:00
Deploying to gh-pages from @ bevyengine/bevy@ab10e85558 🚀
This commit is contained in:
commit
909a5f2e35
4806 changed files with 423487 additions and 0 deletions
0
.lock
Normal file
0
.lock
Normal file
0
.nojekyll
Normal file
0
.nojekyll
Normal file
1
CNAME
Normal file
1
CNAME
Normal file
|
@ -0,0 +1 @@
|
|||
dev-docs.bevyengine.org
|
105
bevy/a11y/accesskit/enum.Action.html
Normal file
105
bevy/a11y/accesskit/enum.Action.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/enum.ActionData.html
Normal file
53
bevy/a11y/accesskit/enum.ActionData.html
Normal file
File diff suppressed because one or more lines are too long
56
bevy/a11y/accesskit/enum.AriaCurrent.html
Normal file
56
bevy/a11y/accesskit/enum.AriaCurrent.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/a11y/accesskit/enum.AutoComplete.html
Normal file
52
bevy/a11y/accesskit/enum.AutoComplete.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/a11y/accesskit/enum.Checked.html
Normal file
52
bevy/a11y/accesskit/enum.Checked.html
Normal file
File diff suppressed because one or more lines are too long
68
bevy/a11y/accesskit/enum.DefaultActionVerb.html
Normal file
68
bevy/a11y/accesskit/enum.DefaultActionVerb.html
Normal file
File diff suppressed because one or more lines are too long
55
bevy/a11y/accesskit/enum.HasPopup.html
Normal file
55
bevy/a11y/accesskit/enum.HasPopup.html
Normal file
File diff suppressed because one or more lines are too long
50
bevy/a11y/accesskit/enum.Invalid.html
Normal file
50
bevy/a11y/accesskit/enum.Invalid.html
Normal file
File diff suppressed because one or more lines are too long
56
bevy/a11y/accesskit/enum.ListStyle.html
Normal file
56
bevy/a11y/accesskit/enum.ListStyle.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/a11y/accesskit/enum.Live.html
Normal file
52
bevy/a11y/accesskit/enum.Live.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/enum.Orientation.html
Normal file
53
bevy/a11y/accesskit/enum.Orientation.html
Normal file
File diff suppressed because one or more lines are too long
268
bevy/a11y/accesskit/enum.Role.html
Normal file
268
bevy/a11y/accesskit/enum.Role.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/enum.SortDirection.html
Normal file
53
bevy/a11y/accesskit/enum.SortDirection.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/enum.TextAlign.html
Normal file
53
bevy/a11y/accesskit/enum.TextAlign.html
Normal file
File diff suppressed because one or more lines are too long
54
bevy/a11y/accesskit/enum.TextDecoration.html
Normal file
54
bevy/a11y/accesskit/enum.TextDecoration.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/enum.TextDirection.html
Normal file
53
bevy/a11y/accesskit/enum.TextDirection.html
Normal file
File diff suppressed because one or more lines are too long
51
bevy/a11y/accesskit/enum.VerticalOffset.html
Normal file
51
bevy/a11y/accesskit/enum.VerticalOffset.html
Normal file
File diff suppressed because one or more lines are too long
13
bevy/a11y/accesskit/index.html
Normal file
13
bevy/a11y/accesskit/index.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `bevy` crate."><title>bevy::a11y::accesskit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../../../crates.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><ul class="block">
|
||||
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In bevy::a11y</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">a11y</a>::<wbr><a class="mod" href="#">accesskit</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a></div></li><li><div class="item-name"><a class="struct" href="struct.Affine.html" title="struct bevy::a11y::accesskit::Affine">Affine</a></div><div class="desc docblock-short">A 2D affine transform. Derived from <a href="https://github.com/linebender/kurbo">kurbo</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.CustomAction.html" title="struct bevy::a11y::accesskit::CustomAction">CustomAction</a></div><div class="desc docblock-short">Defines a custom action for a UI element.</div></li><li><div class="item-name"><a class="struct" href="struct.Node.html" title="struct bevy::a11y::accesskit::Node">Node</a></div><div class="desc docblock-short">A single accessible object. A complete UI is represented as a tree of these.</div></li><li><div class="item-name"><a class="struct" href="struct.NodeBuilder.html" title="struct bevy::a11y::accesskit::NodeBuilder">NodeBuilder</a></div><div class="desc docblock-short">Builds a <a href="struct.Node.html" title="struct bevy::a11y::accesskit::Node"><code>Node</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.NodeClassSet.html" title="struct bevy::a11y::accesskit::NodeClassSet">NodeClassSet</a></div><div class="desc docblock-short">Allows nodes that have the same role, actions, and set of defined properties
|
||||
to share metadata. Each node has a class which is created by <a href="struct.NodeBuilder.html" title="struct bevy::a11y::accesskit::NodeBuilder"><code>NodeBuilder</code></a>,
|
||||
and when <a href="struct.NodeBuilder.html#method.build" title="method bevy::a11y::accesskit::NodeBuilder::build"><code>NodeBuilder::build</code></a> is called, the node’s class is added
|
||||
to the provided instance of this struct if an identical class isn’t
|
||||
in that set already. Once a class is added to a class set, it currently
|
||||
remains in that set for the life of that set, whether or not any nodes
|
||||
are still using the class.</div></li><li><div class="item-name"><a class="struct" href="struct.NodeId.html" title="struct bevy::a11y::accesskit::NodeId">NodeId</a></div><div class="desc docblock-short">The stable identity of a <a href="struct.Node.html" title="struct bevy::a11y::accesskit::Node"><code>Node</code></a>, unique within the node’s tree.</div></li><li><div class="item-name"><a class="struct" href="struct.Point.html" title="struct bevy::a11y::accesskit::Point">Point</a></div><div class="desc docblock-short">A 2D point. Derived from <a href="https://github.com/linebender/kurbo">kurbo</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Rect.html" title="struct bevy::a11y::accesskit::Rect">Rect</a></div><div class="desc docblock-short">A rectangle. Derived from <a href="https://github.com/linebender/kurbo">kurbo</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Size.html" title="struct bevy::a11y::accesskit::Size">Size</a></div><div class="desc docblock-short">A 2D size. Derived from <a href="https://github.com/linebender/kurbo">kurbo</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.TextPosition.html" title="struct bevy::a11y::accesskit::TextPosition">TextPosition</a></div></li><li><div class="item-name"><a class="struct" href="struct.TextSelection.html" title="struct bevy::a11y::accesskit::TextSelection">TextSelection</a></div></li><li><div class="item-name"><a class="struct" href="struct.Tree.html" title="struct bevy::a11y::accesskit::Tree">Tree</a></div><div class="desc docblock-short">The data associated with an accessibility tree that’s global to the
|
||||
tree and not associated with any particular node.</div></li><li><div class="item-name"><a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></div><div class="desc docblock-short">A serializable representation of an atomic change to a <a href="struct.Tree.html" title="struct bevy::a11y::accesskit::Tree"><code>Tree</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Vec2.html" title="struct bevy::a11y::accesskit::Vec2">Vec2</a></div><div class="desc docblock-short">A 2D vector. Derived from <a href="https://github.com/linebender/kurbo">kurbo</a>.</div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Action.html" title="enum bevy::a11y::accesskit::Action">Action</a></div><div class="desc docblock-short">An action to be taken on an accessibility node.</div></li><li><div class="item-name"><a class="enum" href="enum.ActionData.html" title="enum bevy::a11y::accesskit::ActionData">ActionData</a></div></li><li><div class="item-name"><a class="enum" href="enum.AriaCurrent.html" title="enum bevy::a11y::accesskit::AriaCurrent">AriaCurrent</a></div></li><li><div class="item-name"><a class="enum" href="enum.AutoComplete.html" title="enum bevy::a11y::accesskit::AutoComplete">AutoComplete</a></div></li><li><div class="item-name"><a class="enum" href="enum.Checked.html" title="enum bevy::a11y::accesskit::Checked">Checked</a></div></li><li><div class="item-name"><a class="enum" href="enum.DefaultActionVerb.html" title="enum bevy::a11y::accesskit::DefaultActionVerb">DefaultActionVerb</a></div><div class="desc docblock-short">Describes the action that will be performed on a given node when
|
||||
executing the default action, which is a click.</div></li><li><div class="item-name"><a class="enum" href="enum.HasPopup.html" title="enum bevy::a11y::accesskit::HasPopup">HasPopup</a></div></li><li><div class="item-name"><a class="enum" href="enum.Invalid.html" title="enum bevy::a11y::accesskit::Invalid">Invalid</a></div><div class="desc docblock-short">Indicates if a form control has invalid input or if a web DOM element has an
|
||||
<a href="https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"><code>aria-invalid</code></a> attribute.</div></li><li><div class="item-name"><a class="enum" href="enum.ListStyle.html" title="enum bevy::a11y::accesskit::ListStyle">ListStyle</a></div></li><li><div class="item-name"><a class="enum" href="enum.Live.html" title="enum bevy::a11y::accesskit::Live">Live</a></div></li><li><div class="item-name"><a class="enum" href="enum.Orientation.html" title="enum bevy::a11y::accesskit::Orientation">Orientation</a></div></li><li><div class="item-name"><a class="enum" href="enum.Role.html" title="enum bevy::a11y::accesskit::Role">Role</a></div><div class="desc docblock-short">The type of an accessibility node.</div></li><li><div class="item-name"><a class="enum" href="enum.SortDirection.html" title="enum bevy::a11y::accesskit::SortDirection">SortDirection</a></div></li><li><div class="item-name"><a class="enum" href="enum.TextAlign.html" title="enum bevy::a11y::accesskit::TextAlign">TextAlign</a></div></li><li><div class="item-name"><a class="enum" href="enum.TextDecoration.html" title="enum bevy::a11y::accesskit::TextDecoration">TextDecoration</a></div></li><li><div class="item-name"><a class="enum" href="enum.TextDirection.html" title="enum bevy::a11y::accesskit::TextDirection">TextDirection</a></div></li><li><div class="item-name"><a class="enum" href="enum.VerticalOffset.html" title="enum bevy::a11y::accesskit::VerticalOffset">VerticalOffset</a></div></li></ul><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.ActionHandler.html" title="trait bevy::a11y::accesskit::ActionHandler">ActionHandler</a></div><div class="desc docblock-short">Handles requests from assistive technologies or other clients.</div></li></ul><h2 id="types" class="small-section-header"><a href="#types">Type Aliases</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.NodeIdContent.html" title="type bevy::a11y::accesskit::NodeIdContent">NodeIdContent</a></div></li></ul></section></div></main></body></html>
|
1
bevy/a11y/accesskit/sidebar-items.js
Normal file
1
bevy/a11y/accesskit/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["Action","ActionData","AriaCurrent","AutoComplete","Checked","DefaultActionVerb","HasPopup","Invalid","ListStyle","Live","Orientation","Role","SortDirection","TextAlign","TextDecoration","TextDirection","VerticalOffset"],"struct":["ActionRequest","Affine","CustomAction","Node","NodeBuilder","NodeClassSet","NodeId","Point","Rect","Size","TextPosition","TextSelection","Tree","TreeUpdate","Vec2"],"trait":["ActionHandler"],"type":["NodeIdContent"]};
|
43
bevy/a11y/accesskit/struct.ActionRequest.html
Normal file
43
bevy/a11y/accesskit/struct.ActionRequest.html
Normal file
File diff suppressed because one or more lines are too long
86
bevy/a11y/accesskit/struct.Affine.html
Normal file
86
bevy/a11y/accesskit/struct.Affine.html
Normal file
File diff suppressed because one or more lines are too long
50
bevy/a11y/accesskit/struct.CustomAction.html
Normal file
50
bevy/a11y/accesskit/struct.CustomAction.html
Normal file
File diff suppressed because one or more lines are too long
170
bevy/a11y/accesskit/struct.Node.html
Normal file
170
bevy/a11y/accesskit/struct.Node.html
Normal file
File diff suppressed because one or more lines are too long
170
bevy/a11y/accesskit/struct.NodeBuilder.html
Normal file
170
bevy/a11y/accesskit/struct.NodeBuilder.html
Normal file
File diff suppressed because one or more lines are too long
55
bevy/a11y/accesskit/struct.NodeClassSet.html
Normal file
55
bevy/a11y/accesskit/struct.NodeClassSet.html
Normal file
File diff suppressed because one or more lines are too long
49
bevy/a11y/accesskit/struct.NodeId.html
Normal file
49
bevy/a11y/accesskit/struct.NodeId.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/struct.Point.html
Normal file
53
bevy/a11y/accesskit/struct.Point.html
Normal file
File diff suppressed because one or more lines are too long
90
bevy/a11y/accesskit/struct.Rect.html
Normal file
90
bevy/a11y/accesskit/struct.Rect.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/a11y/accesskit/struct.Size.html
Normal file
53
bevy/a11y/accesskit/struct.Size.html
Normal file
File diff suppressed because one or more lines are too long
50
bevy/a11y/accesskit/struct.TextPosition.html
Normal file
50
bevy/a11y/accesskit/struct.TextPosition.html
Normal file
File diff suppressed because one or more lines are too long
54
bevy/a11y/accesskit/struct.TextSelection.html
Normal file
54
bevy/a11y/accesskit/struct.TextSelection.html
Normal file
File diff suppressed because one or more lines are too long
55
bevy/a11y/accesskit/struct.Tree.html
Normal file
55
bevy/a11y/accesskit/struct.Tree.html
Normal file
File diff suppressed because one or more lines are too long
78
bevy/a11y/accesskit/struct.TreeUpdate.html
Normal file
78
bevy/a11y/accesskit/struct.TreeUpdate.html
Normal file
|
@ -0,0 +1,78 @@
|
|||
<!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 serializable representation of an atomic change to a `Tree`."><title>TreeUpdate in bevy::a11y::accesskit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">TreeUpdate</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.focus">focus</a></li><li><a href="#structfield.nodes">nodes</a></li><li><a href="#structfield.tree">tree</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-TreeUpdate">Clone</a></li><li><a href="#impl-Debug-for-TreeUpdate">Debug</a></li><li><a href="#impl-From%3CT%3E-for-TreeUpdate">From<T></a></li><li><a href="#impl-PartialEq-for-TreeUpdate">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-TreeUpdate">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-TreeUpdate">RefUnwindSafe</a></li><li><a href="#impl-Send-for-TreeUpdate">Send</a></li><li><a href="#impl-Sync-for-TreeUpdate">Sync</a></li><li><a href="#impl-Unpin-for-TreeUpdate">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TreeUpdate">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-TypeData-for-T">TypeData</a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::a11y::accesskit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">a11y</a>::<wbr><a href="index.html">accesskit</a>::<wbr><a class="struct" href="#">TreeUpdate</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct TreeUpdate {
|
||||
pub nodes: <a class="struct" href="../../utils/smallvec/alloc/vec/struct.Vec.html" title="struct bevy::utils::smallvec::alloc::vec::Vec">Vec</a><(<a class="struct" href="struct.NodeId.html" title="struct bevy::a11y::accesskit::NodeId">NodeId</a>, <a class="struct" href="struct.Node.html" title="struct bevy::a11y::accesskit::Node">Node</a>)>,
|
||||
pub tree: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Tree.html" title="struct bevy::a11y::accesskit::Tree">Tree</a>>,
|
||||
pub focus: <a class="struct" href="struct.NodeId.html" title="struct bevy::a11y::accesskit::NodeId">NodeId</a>,
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A serializable representation of an atomic change to a <a href="struct.Tree.html" title="struct bevy::a11y::accesskit::Tree"><code>Tree</code></a>.</p>
|
||||
<p>The sender and receiver must be in sync; the update is only meant
|
||||
to bring the tree from a specific previous state into its next state.
|
||||
Trying to apply it to the wrong tree should immediately panic.</p>
|
||||
<p>Note that for performance, an update should only include nodes that are
|
||||
new or changed. AccessKit platform adapters will avoid raising extraneous
|
||||
events for nodes that have not changed since the previous update,
|
||||
but there is still a cost in processing these nodes and replacing
|
||||
the previous instances.</p>
|
||||
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.nodes" class="structfield small-section-header"><a href="#structfield.nodes" class="anchor field">§</a><code>nodes: <a class="struct" href="../../utils/smallvec/alloc/vec/struct.Vec.html" title="struct bevy::utils::smallvec::alloc::vec::Vec">Vec</a><(<a class="struct" href="struct.NodeId.html" title="struct bevy::a11y::accesskit::NodeId">NodeId</a>, <a class="struct" href="struct.Node.html" title="struct bevy::a11y::accesskit::Node">Node</a>)></code></span><div class="docblock"><p>Zero or more new or updated nodes. Order doesn’t matter.</p>
|
||||
<p>Each node in this list will overwrite any existing node with the same ID.
|
||||
This means that when updating a node, fields that are unchanged
|
||||
from the previous version must still be set to the same values
|
||||
as before.</p>
|
||||
<p>It is an error for any node in this list to not be either the root
|
||||
or a child of another node. For nodes other than the root, the parent
|
||||
must be either an unchanged node already in the tree, or another node
|
||||
in this list.</p>
|
||||
<p>To add a child to the tree, the list must include both the child
|
||||
and an updated version of the parent with the child’s ID added to
|
||||
<a href="struct.Node.html#method.children" title="method bevy::a11y::accesskit::Node::children"><code>Node::children</code></a>.</p>
|
||||
<p>To remove a child and all of its descendants, this list must include
|
||||
an updated version of the parent node with the child’s ID removed
|
||||
from <a href="struct.Node.html#method.children" title="method bevy::a11y::accesskit::Node::children"><code>Node::children</code></a>. Neither the child nor any of its descendants
|
||||
may be included in this list.</p>
|
||||
</div><span id="structfield.tree" class="structfield small-section-header"><a href="#structfield.tree" class="anchor field">§</a><code>tree: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.Tree.html" title="struct bevy::a11y::accesskit::Tree">Tree</a>></code></span><div class="docblock"><p>Rarely updated information about the tree as a whole. This may be omitted
|
||||
if it has not changed since the previous update, but providing the same
|
||||
information again is also allowed. This is required when initializing
|
||||
a tree.</p>
|
||||
</div><span id="structfield.focus" class="structfield small-section-header"><a href="#structfield.focus" class="anchor field">§</a><code>focus: <a class="struct" href="struct.NodeId.html" title="struct bevy::a11y::accesskit::NodeId">NodeId</a></code></span><div class="docblock"><p>The node within this tree that has keyboard focus when the native
|
||||
host (e.g. window) has focus. If no specific node within the tree
|
||||
has keyboard focus, this must be set to the root. The latest focus state
|
||||
must be provided with every tree update, even if the focus state
|
||||
didn’t change in a given update.</p>
|
||||
</div><h2 id="trait-implementations" class="small-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-TreeUpdate" class="impl"><a href="#impl-Clone-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.75.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.75.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.75.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-TreeUpdate" class="impl"><a href="#impl-Debug-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.75.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.75.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-From%3CT%3E-for-TreeUpdate" class="impl"><a href="#impl-From%3CT%3E-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a><span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>() -> <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(factory: T) -> <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-TreeUpdate" class="impl"><a href="#impl-PartialEq-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method 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.75.0/src/core/cmp.rs.html#239">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
|
||||
sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-StructuralPartialEq-for-TreeUpdate" class="impl"><a href="#impl-StructuralPartialEq-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-TreeUpdate" class="impl"><a href="#impl-RefUnwindSafe-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section><section id="impl-Send-for-TreeUpdate" class="impl"><a href="#impl-Send-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section><section id="impl-Sync-for-TreeUpdate" class="impl"><a href="#impl-Sync-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section><section id="impl-Unpin-for-TreeUpdate" class="impl"><a href="#impl-Unpin-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section><section id="impl-UnwindSafe-for-TreeUpdate" class="impl"><a href="#impl-UnwindSafe-for-TreeUpdate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TreeUpdate.html" title="struct bevy::a11y::accesskit::TreeUpdate">TreeUpdate</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></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.75.0/src/alloc/borrow.rs.html#83-85">source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.ToOwned.html" title="trait bevy::utils::smallvec::alloc::borrow::ToOwned">ToOwned</a> for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="../../utils/smallvec/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.75.0/src/alloc/borrow.rs.html#88">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="../../utils/smallvec/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.75.0/src/alloc/borrow.rs.html#92">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="../../utils/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TypeData-for-T" class="impl"><a href="#impl-TypeData-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../reflect/trait.TypeData.html" title="trait bevy::reflect::TypeData">TypeData</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</span></h3></section></summary><div class="impl-items"><section id="method.clone_type_data" class="method trait-impl"><a href="#method.clone_type_data" class="anchor">§</a><h4 class="code-header">fn <a href="../../reflect/trait.TypeData.html#tymethod.clone_type_data" class="fn">clone_type_data</a>(&self) -> <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../reflect/trait.TypeData.html" title="trait bevy::reflect::TypeData">TypeData</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
58
bevy/a11y/accesskit/struct.Vec2.html
Normal file
58
bevy/a11y/accesskit/struct.Vec2.html
Normal file
File diff suppressed because one or more lines are too long
14
bevy/a11y/accesskit/trait.ActionHandler.html
Normal file
14
bevy/a11y/accesskit/trait.ActionHandler.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!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="Handles requests from assistive technologies or other clients."><title>ActionHandler in bevy::a11y::accesskit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</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">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">ActionHandler</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.do_action">do_action</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In bevy::a11y::accesskit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">a11y</a>::<wbr><a href="index.html">accesskit</a>::<wbr><a class="trait" href="#">ActionHandler</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait ActionHandler {
|
||||
// Required method
|
||||
fn <a href="#tymethod.do_action" class="fn">do_action</a>(&mut self, request: <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a>);
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handles requests from assistive technologies or other clients.</p>
|
||||
</div></details><h2 id="required-methods" class="small-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.do_action" class="method"><h4 class="code-header">fn <a href="#tymethod.do_action" class="fn">do_action</a>(&mut self, request: <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a>)</h4></section></summary><div class="docblock"><p>Perform the requested action. If the requested action is not supported,
|
||||
this method must do nothing.</p>
|
||||
<p>The thread on which this method is called is platform-dependent.
|
||||
Refer to the platform adapter documentation for more details.</p>
|
||||
<p>This method may queue the request and handle it asynchronously.
|
||||
This behavior is preferred over blocking, e.g. when dispatching
|
||||
the request to another thread.</p>
|
||||
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-ActionHandler-for-WinitActionHandler" class="impl"><a href="#impl-ActionHandler-for-WinitActionHandler" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ActionHandler.html" title="trait bevy::a11y::accesskit::ActionHandler">ActionHandler</a> for <a class="struct" href="../../winit/accessibility/struct.WinitActionHandler.html" title="struct bevy::winit::accessibility::WinitActionHandler">WinitActionHandler</a></h3></section></div><script src="../../../trait.impl/accesskit/trait.ActionHandler.js" data-ignore-extern-crates="bevy_winit" async></script></section></div></main></body></html>
|
3
bevy/a11y/accesskit/type.NodeIdContent.html
Normal file
3
bevy/a11y/accesskit/type.NodeIdContent.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `NodeIdContent` type in crate `bevy`."><title>NodeIdContent in bevy::a11y::accesskit - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">NodeIdContent</a></h2><div class="sidebar-elems"><h2><a href="index.html">In bevy::a11y::accesskit</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">a11y</a>::<wbr><a href="index.html">accesskit</a>::<wbr><a class="type" href="#">NodeIdContent</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type NodeIdContent = <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u64.html">u64</a>;</code></pre></section></div></main></body></html>
|
80
bevy/a11y/enum.AccessibilitySystem.html
Normal file
80
bevy/a11y/enum.AccessibilitySystem.html
Normal file
File diff suppressed because one or more lines are too long
7
bevy/a11y/index.html
Normal file
7
bevy/a11y/index.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!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="Integrate with platform accessibility APIs."><title>bevy::a11y - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module a11y</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In crate bevy</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">bevy</a>::<wbr><a class="mod" href="#">a11y</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Integrate with platform accessibility APIs.</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="accesskit/index.html" title="mod bevy::a11y::accesskit">accesskit</a></div></li></ul><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AccessibilityNode.html" title="struct bevy::a11y::AccessibilityNode">AccessibilityNode</a></div><div class="desc docblock-short">Component to wrap a <a href="accesskit/struct.Node.html" title="struct bevy::a11y::accesskit::Node"><code>accesskit::Node</code></a>, representing this entity to the platform’s
|
||||
accessibility API.</div></li><li><div class="item-name"><a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></div><div class="desc docblock-short">Plugin managing non-GUI aspects of integrating with accessibility APIs.</div></li><li><div class="item-name"><a class="struct" href="struct.AccessibilityRequested.html" title="struct bevy::a11y::AccessibilityRequested">AccessibilityRequested</a></div><div class="desc docblock-short">Resource that tracks whether an assistive technology has requested
|
||||
accessibility information.</div></li><li><div class="item-name"><a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></div><div class="desc docblock-short">Wrapper struct for <a href="accesskit/struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest"><code>accesskit::ActionRequest</code></a>. Required to allow it to be used as an <code>Event</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.Focus.html" title="struct bevy::a11y::Focus">Focus</a></div><div class="desc docblock-short">Resource representing which entity has keyboard focus, if any.</div></li><li><div class="item-name"><a class="struct" href="struct.ManageAccessibilityUpdates.html" title="struct bevy::a11y::ManageAccessibilityUpdates">ManageAccessibilityUpdates</a></div><div class="desc docblock-short">Resource whose value determines whether the accessibility tree is updated
|
||||
via the ECS.</div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.AccessibilitySystem.html" title="enum bevy::a11y::AccessibilitySystem">AccessibilitySystem</a></div><div class="desc docblock-short">Set enum for the systems relating to accessibility</div></li></ul></section></div></main></body></html>
|
1
bevy/a11y/sidebar-items.js
Normal file
1
bevy/a11y/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["AccessibilitySystem"],"mod":["accesskit"],"struct":["AccessibilityNode","AccessibilityPlugin","AccessibilityRequested","ActionRequest","Focus","ManageAccessibilityUpdates"]};
|
178
bevy/a11y/struct.AccessibilityNode.html
Normal file
178
bevy/a11y/struct.AccessibilityNode.html
Normal file
File diff suppressed because one or more lines are too long
44
bevy/a11y/struct.AccessibilityPlugin.html
Normal file
44
bevy/a11y/struct.AccessibilityPlugin.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!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="Plugin managing non-GUI aspects of integrating with accessibility APIs."><title>AccessibilityPlugin in bevy::a11y - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">AccessibilityPlugin</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Plugin-for-AccessibilityPlugin">Plugin</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-AccessibilityPlugin">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AccessibilityPlugin">Send</a></li><li><a href="#impl-Sync-for-AccessibilityPlugin">Sync</a></li><li><a href="#impl-Unpin-for-AccessibilityPlugin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AccessibilityPlugin">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-Plugins%3CMarker%3E-for-T">Plugins<Marker></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::a11y</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bevy</a>::<wbr><a href="index.html">a11y</a>::<wbr><a class="struct" href="#">AccessibilityPlugin</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AccessibilityPlugin;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Plugin managing non-GUI aspects of integrating with accessibility APIs.</p>
|
||||
</div></details><h2 id="trait-implementations" class="small-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-Plugin-for-AccessibilityPlugin" class="impl"><a href="#impl-Plugin-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../app/trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.build" class="method trait-impl"><a href="#method.build" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#tymethod.build" class="fn">build</a>(&self, app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Configures the <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a> to which this plugin is added.</div></details><details class="toggle method-toggle" open><summary><section id="method.ready" class="method trait-impl"><a href="#method.ready" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.ready" class="fn">ready</a>(&self, _app: &<a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Has the plugin finished it’s setup? This can be useful for plugins that needs something
|
||||
asynchronous to happen before they can finish their setup, like renderer initialization.
|
||||
Once the plugin is ready, <a href="../app/trait.Plugin.html#method.finish" title="method bevy::app::Plugin::finish"><code>finish</code></a> should be called.</div></details><details class="toggle method-toggle" open><summary><section id="method.finish" class="method trait-impl"><a href="#method.finish" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.finish" class="fn">finish</a>(&self, _app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Finish adding this plugin to the <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>, once all plugins registered are ready. This can
|
||||
be useful for plugins that depends on another plugin asynchronous setup, like the renderer.</div></details><details class="toggle method-toggle" open><summary><section id="method.cleanup" class="method trait-impl"><a href="#method.cleanup" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.cleanup" class="fn">cleanup</a>(&self, _app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Runs after all plugins are built and finished, but before the app schedule is executed.
|
||||
This can be useful if you have some resource that other plugins need during their build step,
|
||||
but after build you want to remove it and send it to another thread.</div></details><details class="toggle method-toggle" open><summary><section id="method.name" class="method trait-impl"><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Configures a name for the <a href="../app/trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a> which is primarily used for checking plugin
|
||||
uniqueness and debugging.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_unique" class="method trait-impl"><a href="#method.is_unique" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.is_unique" class="fn">is_unique</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If the plugin can be meaningfully instantiated several times in an <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>,
|
||||
override this method to return <code>false</code>.</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-AccessibilityPlugin" class="impl"><a href="#impl-RefUnwindSafe-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section><section id="impl-Send-for-AccessibilityPlugin" class="impl"><a href="#impl-Send-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section><section id="impl-Sync-for-AccessibilityPlugin" class="impl"><a href="#impl-Sync-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section><section id="impl-Unpin-for-AccessibilityPlugin" class="impl"><a href="#impl-Unpin-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section><section id="impl-UnwindSafe-for-AccessibilityPlugin" class="impl"><a href="#impl-UnwindSafe-for-AccessibilityPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.AccessibilityPlugin.html" title="struct bevy::a11y::AccessibilityPlugin">AccessibilityPlugin</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Plugins%3CMarker%3E-for-T" class="impl"><a href="#impl-Plugins%3CMarker%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<Marker, T> <a class="trait" href="../app/trait.Plugins.html" title="trait bevy::app::Plugins">Plugins</a><Marker> for T<span class="where fmt-newline">where
|
||||
T: Plugins<Marker>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
49
bevy/a11y/struct.AccessibilityRequested.html
Normal file
49
bevy/a11y/struct.AccessibilityRequested.html
Normal file
File diff suppressed because one or more lines are too long
37
bevy/a11y/struct.ActionRequest.html
Normal file
37
bevy/a11y/struct.ActionRequest.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!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="Wrapper struct for `accesskit::ActionRequest`. Required to allow it to be used as an `Event`."><title>ActionRequest in bevy::a11y - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">ActionRequest</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Tuple Fields</a></h3><ul class="block structfield"><li><a href="#structfield.0">0</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Deref-for-ActionRequest">Deref</a></li><li><a href="#impl-DerefMut-for-ActionRequest">DerefMut</a></li><li><a href="#impl-Event-for-ActionRequest">Event</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-ActionRequest">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ActionRequest">Send</a></li><li><a href="#impl-Sync-for-ActionRequest">Sync</a></li><li><a href="#impl-Unpin-for-ActionRequest">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ActionRequest">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::a11y</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bevy</a>::<wbr><a href="index.html">a11y</a>::<wbr><a class="struct" href="#">ActionRequest</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ActionRequest(pub <a class="struct" href="accesskit/struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Wrapper struct for <a href="accesskit/struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest"><code>accesskit::ActionRequest</code></a>. Required to allow it to be used as an <code>Event</code>.</p>
|
||||
</div></details><h2 id="fields" class="fields small-section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield small-section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: <a class="struct" href="accesskit/struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a></code></span><h2 id="trait-implementations" class="small-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-Deref-for-ActionRequest" class="impl"><a href="#impl-Deref-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = <a class="struct" href="accesskit/struct.ActionRequest.html" title="struct bevy::a11y::accesskit::ActionRequest">ActionRequest</a></h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &<<a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a> as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DerefMut-for-ActionRequest" class="impl"><a href="#impl-DerefMut-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut" class="fn">deref_mut</a>(&mut self) -> &mut <<a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a> as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Mutably dereferences the value.</div></details></div></details><section id="impl-Event-for-ActionRequest" class="impl"><a href="#impl-Event-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ecs/event/trait.Event.html" title="trait bevy::ecs::event::Event">Event</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a><span class="where fmt-newline">where
|
||||
<a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a>: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</span></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-ActionRequest" class="impl"><a href="#impl-RefUnwindSafe-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section><section id="impl-Send-for-ActionRequest" class="impl"><a href="#impl-Send-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section><section id="impl-Sync-for-ActionRequest" class="impl"><a href="#impl-Sync-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section><section id="impl-Unpin-for-ActionRequest" class="impl"><a href="#impl-Unpin-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section><section id="impl-UnwindSafe-for-ActionRequest" class="impl"><a href="#impl-UnwindSafe-for-ActionRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.ActionRequest.html" title="struct bevy::a11y::ActionRequest">ActionRequest</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref-1" class="method trait-impl"><a href="#method.deref-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut-1" class="method trait-impl"><a href="#method.deref_mut-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
256
bevy/a11y/struct.Focus.html
Normal file
256
bevy/a11y/struct.Focus.html
Normal file
File diff suppressed because one or more lines are too long
49
bevy/a11y/struct.ManageAccessibilityUpdates.html
Normal file
49
bevy/a11y/struct.ManageAccessibilityUpdates.html
Normal file
File diff suppressed because one or more lines are too long
3
bevy/all.html
Normal file
3
bevy/all.html
Normal file
File diff suppressed because one or more lines are too long
74
bevy/animation/enum.Interpolation.html
Normal file
74
bevy/animation/enum.Interpolation.html
Normal file
File diff suppressed because one or more lines are too long
93
bevy/animation/enum.Keyframes.html
Normal file
93
bevy/animation/enum.Keyframes.html
Normal file
File diff suppressed because one or more lines are too long
89
bevy/animation/enum.RepeatAnimation.html
Normal file
89
bevy/animation/enum.RepeatAnimation.html
Normal file
File diff suppressed because one or more lines are too long
14
bevy/animation/fn.animation_player.html
Normal file
14
bevy/animation/fn.animation_player.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!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="System that will play all animations, using any entity with a `AnimationPlayer` and a `Handle<AnimationClip>` as an animation root"><title>animation_player in bevy::animation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bevy::animation</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">bevy</a>::<wbr><a href="index.html">animation</a>::<wbr><a class="fn" href="#">animation_player</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn animation_player(
|
||||
time: <a class="struct" href="../ecs/system/struct.Res.html" title="struct bevy::ecs::system::Res">Res</a><'_, <a class="struct" href="../time/struct.Time.html" title="struct bevy::time::Time">Time</a>>,
|
||||
animations: <a class="struct" href="../ecs/system/struct.Res.html" title="struct bevy::ecs::system::Res">Res</a><'_, <a class="struct" href="../asset/struct.Assets.html" title="struct bevy::asset::Assets">Assets</a><<a class="struct" href="struct.AnimationClip.html" title="struct bevy::animation::AnimationClip">AnimationClip</a>>>,
|
||||
children: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, &<a class="struct" href="../hierarchy/struct.Children.html" title="struct bevy::hierarchy::Children">Children</a>>,
|
||||
names: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, &<a class="struct" href="../core/struct.Name.html" title="struct bevy::core::Name">Name</a>>,
|
||||
transforms: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, &mut <a class="struct" href="../transform/components/struct.Transform.html" title="struct bevy::transform::components::Transform">Transform</a>>,
|
||||
morphs: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, &mut <a class="struct" href="../render/mesh/morph/struct.MorphWeights.html" title="struct bevy::render::mesh::morph::MorphWeights">MorphWeights</a>>,
|
||||
parents: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, (<a class="struct" href="../ecs/query/struct.Has.html" title="struct bevy::ecs::query::Has">Has</a><<a class="struct" href="struct.AnimationPlayer.html" title="struct bevy::animation::AnimationPlayer">AnimationPlayer</a>>, <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../hierarchy/struct.Parent.html" title="struct bevy::hierarchy::Parent">Parent</a>>)>,
|
||||
animation_players: <a class="struct" href="../ecs/system/struct.Query.html" title="struct bevy::ecs::system::Query">Query</a><'_, '_, (<a class="struct" href="../ecs/entity/struct.Entity.html" title="struct bevy::ecs::entity::Entity">Entity</a>, <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../hierarchy/struct.Parent.html" title="struct bevy::hierarchy::Parent">Parent</a>>, &mut <a class="struct" href="struct.AnimationPlayer.html" title="struct bevy::animation::AnimationPlayer">AnimationPlayer</a>)>
|
||||
)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>System that will play all animations, using any entity with a <a href="struct.AnimationPlayer.html" title="struct bevy::animation::AnimationPlayer"><code>AnimationPlayer</code></a>
|
||||
and a <a href="../asset/enum.Handle.html" title="enum bevy::asset::Handle"><code>Handle<AnimationClip></code></a> as an animation root</p>
|
||||
</div></details></section></div></main></body></html>
|
5
bevy/animation/index.html
Normal file
5
bevy/animation/index.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!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="Provides types and plugins for animations."><title>bevy::animation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module animation</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate bevy</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">bevy</a>::<wbr><a class="mod" href="#">animation</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Provides types and plugins for animations.</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="prelude/index.html" title="mod bevy::animation::prelude">prelude</a></div></li></ul><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AnimationClip.html" title="struct bevy::animation::AnimationClip">AnimationClip</a></div><div class="desc docblock-short">A list of <a href="struct.VariableCurve.html" title="struct bevy::animation::VariableCurve"><code>VariableCurve</code></a>, and the <a href="struct.EntityPath.html" title="struct bevy::animation::EntityPath"><code>EntityPath</code></a> to which they apply.</div></li><li><div class="item-name"><a class="struct" href="struct.AnimationPlayer.html" title="struct bevy::animation::AnimationPlayer">AnimationPlayer</a></div><div class="desc docblock-short">Animation controls</div></li><li><div class="item-name"><a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></div><div class="desc docblock-short">Adds animation support to an app</div></li><li><div class="item-name"><a class="struct" href="struct.EntityPath.html" title="struct bevy::animation::EntityPath">EntityPath</a></div><div class="desc docblock-short">Path to an entity, with <a href="../core/struct.Name.html" title="struct bevy::core::Name"><code>Name</code></a>s. Each entity in a path must have a name.</div></li><li><div class="item-name"><a class="struct" href="struct.VariableCurve.html" title="struct bevy::animation::VariableCurve">VariableCurve</a></div><div class="desc docblock-short">Describes how an attribute of a <a href="../transform/components/struct.Transform.html" title="struct bevy::transform::components::Transform"><code>Transform</code></a> or <a href="../render/mesh/morph/struct.MorphWeights.html" title="struct bevy::render::mesh::morph::MorphWeights"><code>MorphWeights</code></a> should be animated.</div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Interpolation.html" title="enum bevy::animation::Interpolation">Interpolation</a></div><div class="desc docblock-short">Interpolation method to use between keyframes.</div></li><li><div class="item-name"><a class="enum" href="enum.Keyframes.html" title="enum bevy::animation::Keyframes">Keyframes</a></div><div class="desc docblock-short">List of keyframes for one of the attribute of a <a href="../transform/components/struct.Transform.html" title="struct bevy::transform::components::Transform"><code>Transform</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.RepeatAnimation.html" title="enum bevy::animation::RepeatAnimation">RepeatAnimation</a></div><div class="desc docblock-short">Repetition behavior of an animation.</div></li></ul><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.animation_player.html" title="fn bevy::animation::animation_player">animation_player</a></div><div class="desc docblock-short">System that will play all animations, using any entity with a <a href="struct.AnimationPlayer.html" title="struct bevy::animation::AnimationPlayer"><code>AnimationPlayer</code></a>
|
||||
and a <a href="../asset/enum.Handle.html" title="enum bevy::asset::Handle"><code>Handle<AnimationClip></code></a> as an animation root</div></li></ul></section></div></main></body></html>
|
74
bevy/animation/prelude/enum.Interpolation.html
Normal file
74
bevy/animation/prelude/enum.Interpolation.html
Normal file
File diff suppressed because one or more lines are too long
93
bevy/animation/prelude/enum.Keyframes.html
Normal file
93
bevy/animation/prelude/enum.Keyframes.html
Normal file
File diff suppressed because one or more lines are too long
3
bevy/animation/prelude/index.html
Normal file
3
bevy/animation/prelude/index.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `prelude` mod in crate `bevy`."><title>bevy::animation::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module prelude</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section><h2><a href="../index.html">In bevy::animation</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">animation</a>::<wbr><a class="mod" href="#">prelude</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AnimationClip.html" title="struct bevy::animation::prelude::AnimationClip">AnimationClip</a></div><div class="desc docblock-short">A list of <a href="../struct.VariableCurve.html" title="struct bevy::animation::VariableCurve"><code>VariableCurve</code></a>, and the <a href="../struct.EntityPath.html" title="struct bevy::animation::EntityPath"><code>EntityPath</code></a> to which they apply.</div></li><li><div class="item-name"><a class="struct" href="struct.AnimationPlayer.html" title="struct bevy::animation::prelude::AnimationPlayer">AnimationPlayer</a></div><div class="desc docblock-short">Animation controls</div></li><li><div class="item-name"><a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::prelude::AnimationPlugin">AnimationPlugin</a></div><div class="desc docblock-short">Adds animation support to an app</div></li><li><div class="item-name"><a class="struct" href="struct.EntityPath.html" title="struct bevy::animation::prelude::EntityPath">EntityPath</a></div><div class="desc docblock-short">Path to an entity, with <a href="../../core/struct.Name.html" title="struct bevy::core::Name"><code>Name</code></a>s. Each entity in a path must have a name.</div></li><li><div class="item-name"><a class="struct" href="struct.VariableCurve.html" title="struct bevy::animation::prelude::VariableCurve">VariableCurve</a></div><div class="desc docblock-short">Describes how an attribute of a <a href="../../transform/components/struct.Transform.html" title="struct bevy::transform::components::Transform"><code>Transform</code></a> or <a href="../../render/mesh/morph/struct.MorphWeights.html" title="struct bevy::render::mesh::morph::MorphWeights"><code>MorphWeights</code></a> should be animated.</div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Interpolation.html" title="enum bevy::animation::prelude::Interpolation">Interpolation</a></div><div class="desc docblock-short">Interpolation method to use between keyframes.</div></li><li><div class="item-name"><a class="enum" href="enum.Keyframes.html" title="enum bevy::animation::prelude::Keyframes">Keyframes</a></div><div class="desc docblock-short">List of keyframes for one of the attribute of a <a href="../../transform/components/struct.Transform.html" title="struct bevy::transform::components::Transform"><code>Transform</code></a>.</div></li></ul></section></div></main></body></html>
|
1
bevy/animation/prelude/sidebar-items.js
Normal file
1
bevy/animation/prelude/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["Interpolation","Keyframes"],"struct":["AnimationClip","AnimationPlayer","AnimationPlugin","EntityPath","VariableCurve"]};
|
96
bevy/animation/prelude/struct.AnimationClip.html
Normal file
96
bevy/animation/prelude/struct.AnimationClip.html
Normal file
File diff suppressed because one or more lines are too long
124
bevy/animation/prelude/struct.AnimationPlayer.html
Normal file
124
bevy/animation/prelude/struct.AnimationPlayer.html
Normal file
File diff suppressed because one or more lines are too long
48
bevy/animation/prelude/struct.AnimationPlugin.html
Normal file
48
bevy/animation/prelude/struct.AnimationPlugin.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<!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="Adds animation support to an app"><title>AnimationPlugin in bevy::animation::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">AnimationPlugin</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Default-for-AnimationPlugin">Default</a></li><li><a href="#impl-Plugin-for-AnimationPlugin">Plugin</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-AnimationPlugin">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AnimationPlugin">Send</a></li><li><a href="#impl-Sync-for-AnimationPlugin">Sync</a></li><li><a href="#impl-Unpin-for-AnimationPlugin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AnimationPlugin">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-FromWorld-for-T">FromWorld</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-NoneValue-for-T">NoneValue</a></li><li><a href="#impl-Plugins%3CMarker%3E-for-T">Plugins<Marker></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-ReadPrimitive%3CR%3E-for-P">ReadPrimitive<R></a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::animation::prelude</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">animation</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="struct" href="#">AnimationPlugin</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AnimationPlugin;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Adds animation support to an app</p>
|
||||
</div></details><h2 id="trait-implementations" class="small-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-Default-for-AnimationPlugin" class="impl"><a href="#impl-Default-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Plugin-for-AnimationPlugin" class="impl"><a href="#impl-Plugin-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../app/trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.build" class="method trait-impl"><a href="#method.build" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#tymethod.build" class="fn">build</a>(&self, app: &mut <a class="struct" href="../../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Configures the <a href="../../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a> to which this plugin is added.</div></details><details class="toggle method-toggle" open><summary><section id="method.ready" class="method trait-impl"><a href="#method.ready" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#method.ready" class="fn">ready</a>(&self, _app: &<a class="struct" href="../../app/struct.App.html" title="struct bevy::app::App">App</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Has the plugin finished it’s setup? This can be useful for plugins that needs something
|
||||
asynchronous to happen before they can finish their setup, like renderer initialization.
|
||||
Once the plugin is ready, <a href="../../app/trait.Plugin.html#method.finish" title="method bevy::app::Plugin::finish"><code>finish</code></a> should be called.</div></details><details class="toggle method-toggle" open><summary><section id="method.finish" class="method trait-impl"><a href="#method.finish" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#method.finish" class="fn">finish</a>(&self, _app: &mut <a class="struct" href="../../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Finish adding this plugin to the <a href="../../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>, once all plugins registered are ready. This can
|
||||
be useful for plugins that depends on another plugin asynchronous setup, like the renderer.</div></details><details class="toggle method-toggle" open><summary><section id="method.cleanup" class="method trait-impl"><a href="#method.cleanup" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#method.cleanup" class="fn">cleanup</a>(&self, _app: &mut <a class="struct" href="../../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Runs after all plugins are built and finished, but before the app schedule is executed.
|
||||
This can be useful if you have some resource that other plugins need during their build step,
|
||||
but after build you want to remove it and send it to another thread.</div></details><details class="toggle method-toggle" open><summary><section id="method.name" class="method trait-impl"><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#method.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Configures a name for the <a href="../../app/trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a> which is primarily used for checking plugin
|
||||
uniqueness and debugging.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_unique" class="method trait-impl"><a href="#method.is_unique" class="anchor">§</a><h4 class="code-header">fn <a href="../../app/trait.Plugin.html#method.is_unique" class="fn">is_unique</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If the plugin can be meaningfully instantiated several times in an <a href="../../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>,
|
||||
override this method to return <code>false</code>.</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-AnimationPlugin" class="impl"><a href="#impl-RefUnwindSafe-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Send-for-AnimationPlugin" class="impl"><a href="#impl-Send-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Sync-for-AnimationPlugin" class="impl"><a href="#impl-Sync-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Unpin-for-AnimationPlugin" class="impl"><a href="#impl-Unpin-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-UnwindSafe-for-AnimationPlugin" class="impl"><a href="#impl-UnwindSafe-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromWorld-for-T" class="impl"><a href="#impl-FromWorld-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../ecs/world/trait.FromWorld.html" title="trait bevy::ecs::world::FromWorld">FromWorld</a> for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_world" class="method trait-impl"><a href="#method.from_world" class="anchor">§</a><h4 class="code-header">fn <a href="../../ecs/world/trait.FromWorld.html#tymethod.from_world" class="fn">from_world</a>(_world: &mut <a class="struct" href="../../ecs/world/struct.World.html" title="struct bevy::ecs::world::World">World</a>) -> T</h4></section></summary><div class='docblock'>Creates <code>Self</code> using data from the given <a href="../../ecs/world/struct.World.html" title="struct bevy::ecs::world::World"><code>World</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NoneValue-for-T" class="impl"><a href="#impl-NoneValue-for-T" class="anchor">§</a><h3 class="code-header">impl<T> NoneValue for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.NoneType" class="associatedtype trait-impl"><a href="#associatedtype.NoneType" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">NoneType</a> = T</h4></section><details class="toggle method-toggle" open><summary><section id="method.null_value" class="method trait-impl"><a href="#method.null_value" class="anchor">§</a><h4 class="code-header">fn <a class="fn">null_value</a>() -> T</h4></section></summary><div class='docblock'>The none-equivalent value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ReadPrimitive%3CR%3E-for-P" class="impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#347">source</a><a href="#impl-ReadPrimitive%3CR%3E-for-P" class="anchor">§</a><h3 class="code-header">impl<R, P> <a class="trait" href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html" title="trait lebe::io::ReadPrimitive">ReadPrimitive</a><R> for P<span class="where fmt-newline">where
|
||||
R: <a class="trait" href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + <a class="trait" href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadEndian.html" title="trait lebe::io::ReadEndian">ReadEndian</a><P>,
|
||||
P: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_from_little_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#377">source</a><a href="#method.read_from_little_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_little_endian" class="fn">read_from_little_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_little_endian()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_from_big_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#382">source</a><a href="#method.read_from_big_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_big_endian" class="fn">read_from_big_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_big_endian()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_from_native_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#387">source</a><a href="#method.read_from_native_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_native_endian" class="fn">read_from_native_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_native_endian()</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Plugins%3CMarker%3E-for-T" class="impl"><a href="#impl-Plugins%3CMarker%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<Marker, T> <a class="trait" href="../../app/trait.Plugins.html" title="trait bevy::app::Plugins">Plugins</a><Marker> for T<span class="where fmt-newline">where
|
||||
T: Plugins<Marker>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
88
bevy/animation/prelude/struct.EntityPath.html
Normal file
88
bevy/animation/prelude/struct.EntityPath.html
Normal file
File diff suppressed because one or more lines are too long
94
bevy/animation/prelude/struct.VariableCurve.html
Normal file
94
bevy/animation/prelude/struct.VariableCurve.html
Normal file
File diff suppressed because one or more lines are too long
1
bevy/animation/sidebar-items.js
Normal file
1
bevy/animation/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["Interpolation","Keyframes","RepeatAnimation"],"fn":["animation_player"],"mod":["prelude"],"struct":["AnimationClip","AnimationPlayer","AnimationPlugin","EntityPath","VariableCurve"]};
|
96
bevy/animation/struct.AnimationClip.html
Normal file
96
bevy/animation/struct.AnimationClip.html
Normal file
File diff suppressed because one or more lines are too long
124
bevy/animation/struct.AnimationPlayer.html
Normal file
124
bevy/animation/struct.AnimationPlayer.html
Normal file
File diff suppressed because one or more lines are too long
48
bevy/animation/struct.AnimationPlugin.html
Normal file
48
bevy/animation/struct.AnimationPlugin.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<!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="Adds animation support to an app"><title>AnimationPlugin in bevy::animation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">AnimationPlugin</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Default-for-AnimationPlugin">Default</a></li><li><a href="#impl-Plugin-for-AnimationPlugin">Plugin</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-AnimationPlugin">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AnimationPlugin">Send</a></li><li><a href="#impl-Sync-for-AnimationPlugin">Sync</a></li><li><a href="#impl-Unpin-for-AnimationPlugin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AnimationPlugin">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-FromWorld-for-T">FromWorld</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-NoneValue-for-T">NoneValue</a></li><li><a href="#impl-Plugins%3CMarker%3E-for-T">Plugins<Marker></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-ReadPrimitive%3CR%3E-for-P">ReadPrimitive<R></a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::animation</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bevy</a>::<wbr><a href="index.html">animation</a>::<wbr><a class="struct" href="#">AnimationPlugin</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AnimationPlugin;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Adds animation support to an app</p>
|
||||
</div></details><h2 id="trait-implementations" class="small-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-Default-for-AnimationPlugin" class="impl"><a href="#impl-Default-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Plugin-for-AnimationPlugin" class="impl"><a href="#impl-Plugin-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../app/trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.build" class="method trait-impl"><a href="#method.build" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#tymethod.build" class="fn">build</a>(&self, app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Configures the <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a> to which this plugin is added.</div></details><details class="toggle method-toggle" open><summary><section id="method.ready" class="method trait-impl"><a href="#method.ready" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.ready" class="fn">ready</a>(&self, _app: &<a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Has the plugin finished it’s setup? This can be useful for plugins that needs something
|
||||
asynchronous to happen before they can finish their setup, like renderer initialization.
|
||||
Once the plugin is ready, <a href="../app/trait.Plugin.html#method.finish" title="method bevy::app::Plugin::finish"><code>finish</code></a> should be called.</div></details><details class="toggle method-toggle" open><summary><section id="method.finish" class="method trait-impl"><a href="#method.finish" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.finish" class="fn">finish</a>(&self, _app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Finish adding this plugin to the <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>, once all plugins registered are ready. This can
|
||||
be useful for plugins that depends on another plugin asynchronous setup, like the renderer.</div></details><details class="toggle method-toggle" open><summary><section id="method.cleanup" class="method trait-impl"><a href="#method.cleanup" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.cleanup" class="fn">cleanup</a>(&self, _app: &mut <a class="struct" href="../app/struct.App.html" title="struct bevy::app::App">App</a>)</h4></section></summary><div class='docblock'>Runs after all plugins are built and finished, but before the app schedule is executed.
|
||||
This can be useful if you have some resource that other plugins need during their build step,
|
||||
but after build you want to remove it and send it to another thread.</div></details><details class="toggle method-toggle" open><summary><section id="method.name" class="method trait-impl"><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Configures a name for the <a href="../app/trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a> which is primarily used for checking plugin
|
||||
uniqueness and debugging.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_unique" class="method trait-impl"><a href="#method.is_unique" class="anchor">§</a><h4 class="code-header">fn <a href="../app/trait.Plugin.html#method.is_unique" class="fn">is_unique</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If the plugin can be meaningfully instantiated several times in an <a href="../app/struct.App.html" title="struct bevy::app::App"><code>App</code></a>,
|
||||
override this method to return <code>false</code>.</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-AnimationPlugin" class="impl"><a href="#impl-RefUnwindSafe-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Send-for-AnimationPlugin" class="impl"><a href="#impl-Send-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Sync-for-AnimationPlugin" class="impl"><a href="#impl-Sync-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-Unpin-for-AnimationPlugin" class="impl"><a href="#impl-Unpin-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section><section id="impl-UnwindSafe-for-AnimationPlugin" class="impl"><a href="#impl-UnwindSafe-for-AnimationPlugin" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.AnimationPlugin.html" title="struct bevy::animation::AnimationPlugin">AnimationPlugin</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromWorld-for-T" class="impl"><a href="#impl-FromWorld-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../ecs/world/trait.FromWorld.html" title="trait bevy::ecs::world::FromWorld">FromWorld</a> for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_world" class="method trait-impl"><a href="#method.from_world" class="anchor">§</a><h4 class="code-header">fn <a href="../ecs/world/trait.FromWorld.html#tymethod.from_world" class="fn">from_world</a>(_world: &mut <a class="struct" href="../ecs/world/struct.World.html" title="struct bevy::ecs::world::World">World</a>) -> T</h4></section></summary><div class='docblock'>Creates <code>Self</code> using data from the given <a href="../ecs/world/struct.World.html" title="struct bevy::ecs::world::World"><code>World</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NoneValue-for-T" class="impl"><a href="#impl-NoneValue-for-T" class="anchor">§</a><h3 class="code-header">impl<T> NoneValue for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.NoneType" class="associatedtype trait-impl"><a href="#associatedtype.NoneType" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">NoneType</a> = T</h4></section><details class="toggle method-toggle" open><summary><section id="method.null_value" class="method trait-impl"><a href="#method.null_value" class="anchor">§</a><h4 class="code-header">fn <a class="fn">null_value</a>() -> T</h4></section></summary><div class='docblock'>The none-equivalent value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ReadPrimitive%3CR%3E-for-P" class="impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#347">source</a><a href="#impl-ReadPrimitive%3CR%3E-for-P" class="anchor">§</a><h3 class="code-header">impl<R, P> <a class="trait" href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html" title="trait lebe::io::ReadPrimitive">ReadPrimitive</a><R> for P<span class="where fmt-newline">where
|
||||
R: <a class="trait" href="https://doc.rust-lang.org/1.75.0/std/io/trait.Read.html" title="trait std::io::Read">Read</a> + <a class="trait" href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadEndian.html" title="trait lebe::io::ReadEndian">ReadEndian</a><P>,
|
||||
P: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_from_little_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#377">source</a><a href="#method.read_from_little_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_little_endian" class="fn">read_from_little_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_little_endian()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_from_big_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#382">source</a><a href="#method.read_from_big_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_big_endian" class="fn">read_from_big_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_big_endian()</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_from_native_endian" class="method trait-impl"><a class="src rightside" href="https://docs.rs/lebe/0.5.0/src/lebe/lib.rs.html#387">source</a><a href="#method.read_from_native_endian" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/lebe/0.5.0/lebe/io/trait.ReadPrimitive.html#method.read_from_native_endian" class="fn">read_from_native_endian</a>(read: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut R</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="../tasks/futures_lite/io/struct.Error.html" title="struct bevy::tasks::futures_lite::io::Error">Error</a>></h4></section></summary><div class='docblock'>Read this value from the supplied reader. Same as <code>ReadEndian::read_from_native_endian()</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Plugins%3CMarker%3E-for-T" class="impl"><a href="#impl-Plugins%3CMarker%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<Marker, T> <a class="trait" href="../app/trait.Plugins.html" title="trait bevy::app::Plugins">Plugins</a><Marker> for T<span class="where fmt-newline">where
|
||||
T: Plugins<Marker>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
88
bevy/animation/struct.EntityPath.html
Normal file
88
bevy/animation/struct.EntityPath.html
Normal file
File diff suppressed because one or more lines are too long
94
bevy/animation/struct.VariableCurve.html
Normal file
94
bevy/animation/struct.VariableCurve.html
Normal file
File diff suppressed because one or more lines are too long
4
bevy/app/ci_testing/index.html
Normal file
4
bevy/app/ci_testing/index.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!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="Utilities for testing in CI environments."><title>bevy::app::ci_testing - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module ci_testing</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In bevy::app</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">app</a>::<wbr><a class="mod" href="#">ci_testing</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for testing in CI environments.</p>
|
||||
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></div><div class="desc docblock-short">A configuration struct for automated CI testing.</div></li></ul></section></div></main></body></html>
|
1
bevy/app/ci_testing/sidebar-items.js
Normal file
1
bevy/app/ci_testing/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"struct":["CiTestingConfig"]};
|
51
bevy/app/ci_testing/struct.CiTestingConfig.html
Normal file
51
bevy/app/ci_testing/struct.CiTestingConfig.html
Normal file
|
@ -0,0 +1,51 @@
|
|||
<!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 configuration struct for automated CI testing."><title>CiTestingConfig in bevy::app::ci_testing - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">CiTestingConfig</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.exit_after">exit_after</a></li><li><a href="#structfield.frame_time">frame_time</a></li><li><a href="#structfield.screenshot_frames">screenshot_frames</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Deserialize%3C'de%3E-for-CiTestingConfig">Deserialize<'de></a></li><li><a href="#impl-Resource-for-CiTestingConfig">Resource</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-CiTestingConfig">RefUnwindSafe</a></li><li><a href="#impl-Send-for-CiTestingConfig">Send</a></li><li><a href="#impl-Sync-for-CiTestingConfig">Sync</a></li><li><a href="#impl-Unpin-for-CiTestingConfig">Unpin</a></li><li><a href="#impl-UnwindSafe-for-CiTestingConfig">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">Any</a></li><li><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T">AsBindGroupShaderType<U></a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast<T></a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-Duplex%3CS%3E-for-T">Duplex<S></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-FromSample%3CS%3E-for-S">FromSample<S></a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-IntoSample%3CT%3E-for-F">IntoSample<T></a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-Settings-for-T">Settings</a></li><li><a href="#impl-ToSample%3CU%3E-for-T">ToSample<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast<T></a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip<V></a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In bevy::app::ci_testing</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">app</a>::<wbr><a href="index.html">ci_testing</a>::<wbr><a class="struct" href="#">CiTestingConfig</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct CiTestingConfig {
|
||||
pub exit_after: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u32.html">u32</a>>,
|
||||
pub frame_time: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f32.html">f32</a>>,
|
||||
pub screenshot_frames: <a class="struct" href="../../utils/smallvec/alloc/vec/struct.Vec.html" title="struct bevy::utils::smallvec::alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u32.html">u32</a>>,
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A configuration struct for automated CI testing.</p>
|
||||
<p>It gets used when the <code>bevy_ci_testing</code> feature is enabled to automatically
|
||||
exit a Bevy app when run through the CI. This is needed because otherwise
|
||||
Bevy apps would be stuck in the game loop and wouldn’t allow the CI to progress.</p>
|
||||
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.exit_after" class="structfield small-section-header"><a href="#structfield.exit_after" class="anchor field">§</a><code>exit_after: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u32.html">u32</a>></code></span><div class="docblock"><p>The number of frames after which Bevy should exit.</p>
|
||||
</div><span id="structfield.frame_time" class="structfield small-section-header"><a href="#structfield.frame_time" class="anchor field">§</a><code>frame_time: <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.f32.html">f32</a>></code></span><div class="docblock"><p>The time in seconds to update for each frame.</p>
|
||||
</div><span id="structfield.screenshot_frames" class="structfield small-section-header"><a href="#structfield.screenshot_frames" class="anchor field">§</a><code>screenshot_frames: <a class="struct" href="../../utils/smallvec/alloc/vec/struct.Vec.html" title="struct bevy::utils::smallvec::alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.u32.html">u32</a>></code></span><div class="docblock"><p>Frames at which to capture a screenshot.</p>
|
||||
</div><h2 id="trait-implementations" class="small-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-Deserialize%3C'de%3E-for-CiTestingConfig" class="impl"><a href="#impl-Deserialize%3C'de%3E-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(
|
||||
__deserializer: __D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><span class="where fmt-newline">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</span></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><section id="impl-Resource-for-CiTestingConfig" class="impl"><a href="#impl-Resource-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../ecs/system/trait.Resource.html" title="trait bevy::ecs::system::Resource">Resource</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a><span class="where fmt-newline">where
|
||||
<a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a>: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,</span></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-CiTestingConfig" class="impl"><a href="#impl-RefUnwindSafe-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section><section id="impl-Send-for-CiTestingConfig" class="impl"><a href="#impl-Send-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section><section id="impl-Sync-for-CiTestingConfig" class="impl"><a href="#impl-Sync-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section><section id="impl-Unpin-for-CiTestingConfig" class="impl"><a href="#impl-Unpin-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section><section id="impl-UnwindSafe-for-CiTestingConfig" class="impl"><a href="#impl-UnwindSafe-for-CiTestingConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.CiTestingConfig.html" title="struct bevy::app::ci_testing::CiTestingConfig">CiTestingConfig</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#135">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/any.rs.html#136">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.75.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.75.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-AsBindGroupShaderType%3CU%3E-for-T" class="impl"><a href="#impl-AsBindGroupShaderType%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../../render/render_resource/trait.AsBindGroupShaderType.html" title="trait bevy::render::render_resource::AsBindGroupShaderType">AsBindGroupShaderType</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType">ShaderType</a>,
|
||||
<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a>: for<'a> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_bind_group_shader_type" class="method trait-impl"><a href="#method.as_bind_group_shader_type" class="anchor">§</a><h4 class="code-header">fn <a href="../../render/render_resource/trait.AsBindGroupShaderType.html#tymethod.as_bind_group_shader_type" class="fn">as_bind_group_shader_type</a>(&self, _images: &<a class="struct" href="../../render/render_asset/struct.RenderAssets.html" title="struct bevy::render::render_asset::RenderAssets">RenderAssets</a><<a class="struct" href="../../render/texture/struct.Image.html" title="struct bevy::render::texture::Image">Image</a>>) -> U</h4></section></summary><div class='docblock'>Return the <code>T</code> <a href="../../render/render_resource/trait.ShaderType.html" title="trait bevy::render::render_resource::ShaderType"><code>ShaderType</code></a> for <code>self</code>. When used in <a href="../../render/render_resource/trait.AsBindGroup.html" title="trait bevy::render::render_resource::AsBindGroup"><code>AsBindGroup</code></a>
|
||||
derives, it is safe to assume that all images in <code>self</code> exist.</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.75.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.Borrow.html" title="trait bevy::utils::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../../utils/smallvec/alloc/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.75.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait bevy::utils::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<span class="where fmt-newline">where
|
||||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../../utils/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast%3CT%3E-for-T" class="impl"><a href="#impl-Downcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.downcast" class="method trait-impl"><a href="#method.downcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/boxed/struct.Box.html" title="struct bevy::utils::smallvec::alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||||
then be further <code>downcast</code> into <code>Box<ConcreteType></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 href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/rc/struct.Rc.html" title="struct bevy::utils::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Rc<ConcreteType></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 href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></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 href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><T>) -> <a class="struct" href="../../utils/smallvec/alloc/sync/struct.Arc.html" title="struct bevy::utils::smallvec::alloc::sync::Arc">Arc</a><dyn <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||||
further <code>downcast</code> into <code>Arc<ConcreteType></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.75.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromSample%3CS%3E-for-S" class="impl"><a href="#impl-FromSample%3CS%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S> FromSample<S> for S</h3></section></summary><div class="impl-items"><section id="method.from_sample_" class="method trait-impl"><a href="#method.from_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_sample_</a>(s: S) -> S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/trait.Instrument.html" title="trait bevy::utils::tracing::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 href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span">Span</a>) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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 href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.Instrumented.html" title="struct bevy::utils::tracing::instrument::Instrumented">Instrumented</a><Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="../../utils/tracing/struct.Span.html#method.current" title="associated function bevy::utils::tracing::Span::current">current</a> <a href="../../utils/tracing/struct.Span.html" title="struct bevy::utils::tracing::Span"><code>Span</code></a>, returning an
|
||||
<code>Instrumented</code> wrapper. <a href="../../utils/tracing/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.75.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||||
<p>That is, this conversion is whatever the implementation of
|
||||
<code><a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoSample%3CT%3E-for-F" class="impl"><a href="#impl-IntoSample%3CT%3E-for-F" class="anchor">§</a><h3 class="code-header">impl<F, T> IntoSample<T> for F<span class="where fmt-newline">where
|
||||
T: FromSample<F>,</span></h3></section></summary><div class="impl-items"><section id="method.into_sample" class="method trait-impl"><a href="#method.into_sample" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_sample</a>(self) -> T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToSample%3CU%3E-for-T" class="impl"><a href="#impl-ToSample%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> ToSample<U> for T<span class="where fmt-newline">where
|
||||
U: FromSample<T>,</span></h3></section></summary><div class="impl-items"><section id="method.to_sample_" class="method trait-impl"><a href="#method.to_sample_" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_sample_</a>(self) -> U</h4></section></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.75.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.75.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<span class="where fmt-newline">where
|
||||
U: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CT%3E-for-T" class="impl"><a href="#impl-Upcast%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Upcast<T> for T</h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.75.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&T</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<span class="where fmt-newline">where
|
||||
V: MultiLane<T>,</span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../utils/tracing/instrument/trait.WithSubscriber.html" title="trait bevy::utils::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 href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fn">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><span class="where fmt-newline">where
|
||||
S: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../../utils/tracing/struct.Dispatch.html" title="struct bevy::utils::tracing::Dispatch">Dispatch</a>>,</span></h4></section></summary><div class='docblock'>Attaches the provided <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/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 href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -> <a class="struct" href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch">WithDispatch</a><Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="../../utils/tracing/dispatcher/index.html#setting-the-default-subscriber" title="mod bevy::utils::tracing::dispatcher">default</a> <a href="../../utils/tracing/trait.Subscriber.html" title="trait bevy::utils::tracing::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||||
<a href="../../utils/tracing/instrument/struct.WithDispatch.html" title="struct bevy::utils::tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="../../utils/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.194/src/serde/de/mod.rs.html#608">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.194/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<span class="where fmt-newline">where
|
||||
T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.194/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</span></h3></section><section id="impl-Duplex%3CS%3E-for-T" class="impl"><a href="#impl-Duplex%3CS%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<S, T> Duplex<S> for T<span class="where fmt-newline">where
|
||||
T: FromSample<S> + ToSample<S>,</span></h3></section><section id="impl-Settings-for-T" class="impl"><a href="#impl-Settings-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../asset/meta/trait.Settings.html" title="trait bevy::asset::meta::Settings">Settings</a> for T<span class="where fmt-newline">where
|
||||
T: 'static + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</span></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<span class="where fmt-newline">where
|
||||
T: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</span></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.Instrumented.html\" title=\"struct bevy::utils::tracing::instrument::Instrumented\">Instrumented</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>","WithDispatch<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T></code></h3><pre><code><span class=\"where fmt-newline\">impl<T> <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a> for <a class=\"struct\" href=\"../../utils/tracing/instrument/struct.WithDispatch.html\" title=\"struct bevy::utils::tracing::instrument::WithDispatch\">WithDispatch</a><T><span class=\"where fmt-newline\">where\n T: <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>,</span></span><span class=\"where fmt-newline\"> type <a href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../../tasks/futures_lite/trait.Future.html\" title=\"trait bevy::tasks::futures_lite::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../../tasks/futures_lite/trait.Future.html#associatedtype.Output\" title=\"type bevy::tasks::futures_lite::Future::Output\">Output</a>;</span>"}</script></section></div></main></body></html>
|
5
bevy/app/derive.AppLabel.html
Normal file
5
bevy/app/derive.AppLabel.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!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="Generates an impl of the `AppLabel` trait."><title>AppLabel in bevy::app - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc derive"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bevy::app</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Derive Macro <a href="../index.html">bevy</a>::<wbr><a href="index.html">app</a>::<wbr><a class="derive" href="#">AppLabel</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>#[derive(AppLabel)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generates an impl of the <code>AppLabel</code> trait.</p>
|
||||
<p>This does not work for unions.</p>
|
||||
</div></details></section></div></main></body></html>
|
4
bevy/app/derive.DynamicPlugin.html
Normal file
4
bevy/app/derive.DynamicPlugin.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!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="Generates a dynamic plugin entry point function for the given `Plugin` type."><title>DynamicPlugin in bevy::app - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc derive"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bevy::app</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Derive Macro <a href="../index.html">bevy</a>::<wbr><a href="index.html">app</a>::<wbr><a class="derive" href="#">DynamicPlugin</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>#[derive(DynamicPlugin)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generates a dynamic plugin entry point function for the given <code>Plugin</code> type.</p>
|
||||
</div></details></section></div></main></body></html>
|
54
bevy/app/enum.PluginsState.html
Normal file
54
bevy/app/enum.PluginsState.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/enum.RunMode.html
Normal file
52
bevy/app/enum.RunMode.html
Normal file
File diff suppressed because one or more lines are too long
21
bevy/app/index.html
Normal file
21
bevy/app/index.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!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="Build bevy apps, create plugins, and read events."><title>bevy::app - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module app</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li><li><a href="#derives">Derive Macros</a></li></ul></section><h2><a href="../index.html">In crate bevy</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">bevy</a>::<wbr><a class="mod" href="#">app</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Build bevy apps, create plugins, and read events.</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="ci_testing/index.html" title="mod bevy::app::ci_testing">ci_testing</a></div><div class="desc docblock-short">Utilities for testing in CI environments.</div></li><li><div class="item-name"><a class="mod" href="prelude/index.html" title="mod bevy::app::prelude">prelude</a></div></li></ul><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.App.html" title="struct bevy::app::App">App</a></div><div class="desc docblock-short">A container of app logic and data.</div></li><li><div class="item-name"><a class="struct" href="struct.AppExit.html" title="struct bevy::app::AppExit">AppExit</a></div><div class="desc docblock-short">An event that indicates the <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a> should exit. This will fully exit the app process at the
|
||||
start of the next tick of the schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.First.html" title="struct bevy::app::First">First</a></div><div class="desc docblock-short">Runs first in the schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedFirst.html" title="struct bevy::app::FixedFirst">FixedFirst</a></div><div class="desc docblock-short">Runs first in the <a href="struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a> schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedLast.html" title="struct bevy::app::FixedLast">FixedLast</a></div><div class="desc docblock-short">The schedule that runs last in <a href="struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a></div></li><li><div class="item-name"><a class="struct" href="struct.FixedMain.html" title="struct bevy::app::FixedMain">FixedMain</a></div><div class="desc docblock-short">The schedule that contains systems which only run after a fixed period of time has elapsed.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedMainScheduleOrder.html" title="struct bevy::app::FixedMainScheduleOrder">FixedMainScheduleOrder</a></div><div class="desc docblock-short">Defines the schedules to be run for the <a href="struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a> schedule, including
|
||||
their order.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedPostUpdate.html" title="struct bevy::app::FixedPostUpdate">FixedPostUpdate</a></div><div class="desc docblock-short">The schedule that runs after the <a href="struct.FixedUpdate.html" title="struct bevy::app::FixedUpdate"><code>FixedUpdate</code></a> schedule, for reacting
|
||||
to changes made in the main update logic.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedPreUpdate.html" title="struct bevy::app::FixedPreUpdate">FixedPreUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run before <a href="struct.FixedUpdate.html" title="struct bevy::app::FixedUpdate"><code>FixedUpdate</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedUpdate.html" title="struct bevy::app::FixedUpdate">FixedUpdate</a></div><div class="desc docblock-short">The schedule that contains most gameplay logic.</div></li><li><div class="item-name"><a class="struct" href="struct.Last.html" title="struct bevy::app::Last">Last</a></div><div class="desc docblock-short">Runs last in the schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.Main.html" title="struct bevy::app::Main">Main</a></div><div class="desc docblock-short">The schedule that contains the app logic that is evaluated each tick of <a href="struct.App.html#method.update" title="method bevy::app::App::update"><code>App::update()</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.MainScheduleOrder.html" title="struct bevy::app::MainScheduleOrder">MainScheduleOrder</a></div><div class="desc docblock-short">Defines the schedules to be run for the <a href="struct.Main.html" title="struct bevy::app::Main"><code>Main</code></a> schedule, including
|
||||
their order.</div></li><li><div class="item-name"><a class="struct" href="struct.MainSchedulePlugin.html" title="struct bevy::app::MainSchedulePlugin">MainSchedulePlugin</a></div><div class="desc docblock-short">Initializes the <a href="struct.Main.html" title="struct bevy::app::Main"><code>Main</code></a> schedule, sub schedules, and resources for a given <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a></div><div class="desc docblock-short">Facilitates the creation and configuration of a <a href="trait.PluginGroup.html" title="trait bevy::app::PluginGroup"><code>PluginGroup</code></a>.
|
||||
Provides a build ordering to ensure that <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s which produce/require a <a href="../ecs/system/trait.Resource.html" title="trait bevy::ecs::system::Resource"><code>Resource</code></a>
|
||||
are built before/after dependent/depending <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s. <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s inside the group
|
||||
can be disabled, enabled or reordered.</div></li><li><div class="item-name"><a class="struct" href="struct.PostStartup.html" title="struct bevy::app::PostStartup">PostStartup</a></div><div class="desc docblock-short">The schedule that runs once after <a href="struct.Startup.html" title="struct bevy::app::Startup"><code>Startup</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PostUpdate.html" title="struct bevy::app::PostUpdate">PostUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run after <a href="struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a>. For example, synchronizing “local transforms” in a hierarchy
|
||||
to “global” absolute transforms. This enables the <a href="struct.PostUpdate.html" title="struct bevy::app::PostUpdate"><code>PostUpdate</code></a> transform-sync system to react to “local transform” changes in
|
||||
<a href="struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> without the <a href="struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> systems needing to know about (or add scheduler dependencies for) the “global transform sync system”.</div></li><li><div class="item-name"><a class="struct" href="struct.PreStartup.html" title="struct bevy::app::PreStartup">PreStartup</a></div><div class="desc docblock-short">The schedule that runs before <a href="struct.Startup.html" title="struct bevy::app::Startup"><code>Startup</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PreUpdate.html" title="struct bevy::app::PreUpdate">PreUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run before <a href="struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a>. For example, a system that reads raw keyboard
|
||||
input OS events into an <code>Events</code> resource. This enables systems in <a href="struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> to consume the events from the <code>Events</code>
|
||||
resource without actually knowing about (or taking a direct scheduler dependency on) the “os-level keyboard event system”.</div></li><li><div class="item-name"><a class="struct" href="struct.RunFixedMainLoop.html" title="struct bevy::app::RunFixedMainLoop">RunFixedMainLoop</a></div><div class="desc docblock-short">Runs the <a href="struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a> schedule in a loop according until all relevant elapsed time has been “consumed”.</div></li><li><div class="item-name"><a class="struct" href="struct.ScheduleRunnerPlugin.html" title="struct bevy::app::ScheduleRunnerPlugin">ScheduleRunnerPlugin</a></div><div class="desc docblock-short">Configures an <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a> to run its <a href="../ecs/schedule/struct.Schedule.html" title="struct bevy::ecs::schedule::Schedule"><code>Schedule</code></a> according to a given
|
||||
<a href="enum.RunMode.html" title="enum bevy::app::RunMode"><code>RunMode</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.SpawnScene.html" title="struct bevy::app::SpawnScene">SpawnScene</a></div><div class="desc docblock-short">The schedule that contains scene spawning.</div></li><li><div class="item-name"><a class="struct" href="struct.Startup.html" title="struct bevy::app::Startup">Startup</a></div><div class="desc docblock-short">The schedule that runs once when the app starts.</div></li><li><div class="item-name"><a class="struct" href="struct.StateTransition.html" title="struct bevy::app::StateTransition">StateTransition</a></div><div class="desc docblock-short">Runs <a href="../ecs/schedule/trait.States.html" title="trait bevy::ecs::schedule::States">state transitions</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.SubApp.html" title="struct bevy::app::SubApp">SubApp</a></div><div class="desc docblock-short">A <a href="struct.SubApp.html" title="struct bevy::app::SubApp"><code>SubApp</code></a> contains its own <a href="../ecs/schedule/struct.Schedule.html" title="struct bevy::ecs::schedule::Schedule"><code>Schedule</code></a> and <a href="../ecs/world/struct.World.html" title="struct bevy::ecs::world::World"><code>World</code></a> separate from the main <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a>.
|
||||
This is useful for situations where data and data processing should be kept completely separate
|
||||
from the main application. The primary use of this feature in bevy is to enable pipelined rendering.</div></li><li><div class="item-name"><a class="struct" href="struct.Update.html" title="struct bevy::app::Update">Update</a></div><div class="desc docblock-short">The schedule that contains app logic. Ideally containing anything that must run once per
|
||||
render frame, such as UI.</div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.PluginsState.html" title="enum bevy::app::PluginsState">PluginsState</a></div><div class="desc docblock-short">Plugins state in the application</div></li><li><div class="item-name"><a class="enum" href="enum.RunMode.html" title="enum bevy::app::RunMode">RunMode</a></div><div class="desc docblock-short">Determines the method used to run an <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a>’s <a href="../ecs/schedule/struct.Schedule.html" title="struct bevy::ecs::schedule::Schedule"><code>Schedule</code></a>.</div></li></ul><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.AppLabel.html" title="trait bevy::app::AppLabel">AppLabel</a></div><div class="desc docblock-short">A strongly-typed class of labels used to identify an <a href="struct.App.html" title="struct bevy::app::App"><code>App</code></a>.</div></li><li><div class="item-name"><a class="trait" href="trait.DynEq.html" title="trait bevy::app::DynEq">DynEq</a></div><div class="desc docblock-short">An object safe version of <a href="https://doc.rust-lang.org/1.75.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq"><code>Eq</code></a>. This trait is automatically implemented
|
||||
for any <code>'static</code> type that implements <code>Eq</code>.</div></li><li><div class="item-name"><a class="trait" href="trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a></div><div class="desc docblock-short">A collection of Bevy app logic and configuration.</div></li><li><div class="item-name"><a class="trait" href="trait.PluginGroup.html" title="trait bevy::app::PluginGroup">PluginGroup</a></div><div class="desc docblock-short">Combines multiple <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s into a single unit.</div></li><li><div class="item-name"><a class="trait" href="trait.Plugins.html" title="trait bevy::app::Plugins">Plugins</a></div><div class="desc docblock-short">Types that represent a set of <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s.</div></li></ul><h2 id="types" class="small-section-header"><a href="#types">Type Aliases</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.CreatePlugin.html" title="type bevy::app::CreatePlugin">CreatePlugin</a></div><div class="desc docblock-short">A type representing an unsafe function that returns a mutable pointer to a <a href="trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>.
|
||||
It is used for dynamically loading plugins.</div></li><li><div class="item-name"><a class="type" href="type.InternedAppLabel.html" title="type bevy::app::InternedAppLabel">InternedAppLabel</a></div><div class="desc docblock-short">A shorthand for <code>Interned<dyn AppLabel></code>.</div></li></ul><h2 id="derives" class="small-section-header"><a href="#derives">Derive Macros</a></h2><ul class="item-table"><li><div class="item-name"><a class="derive" href="derive.AppLabel.html" title="derive bevy::app::AppLabel">AppLabel</a></div><div class="desc docblock-short">Generates an impl of the <code>AppLabel</code> trait.</div></li><li><div class="item-name"><a class="derive" href="derive.DynamicPlugin.html" title="derive bevy::app::DynamicPlugin">DynamicPlugin</a></div><div class="desc docblock-short">Generates a dynamic plugin entry point function for the given <code>Plugin</code> type.</div></li></ul></section></div></main></body></html>
|
4
bevy/app/prelude/derive.DynamicPlugin.html
Normal file
4
bevy/app/prelude/derive.DynamicPlugin.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!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="Generates a dynamic plugin entry point function for the given `Plugin` type."><title>DynamicPlugin in bevy::app::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc derive"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bevy::app::prelude</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Derive Macro <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">app</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="derive" href="#">DynamicPlugin</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>#[derive(DynamicPlugin)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Generates a dynamic plugin entry point function for the given <code>Plugin</code> type.</p>
|
||||
</div></details></section></div></main></body></html>
|
9
bevy/app/prelude/index.html
Normal file
9
bevy/app/prelude/index.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `prelude` mod in crate `bevy`."><title>bevy::app::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Module prelude</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li><li><a href="#derives">Derive Macros</a></li></ul></section><h2><a href="../index.html">In bevy::app</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">app</a>::<wbr><a class="mod" href="#">prelude</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.App.html" title="struct bevy::app::prelude::App">App</a></div><div class="desc docblock-short">A container of app logic and data.</div></li><li><div class="item-name"><a class="struct" href="struct.First.html" title="struct bevy::app::prelude::First">First</a></div><div class="desc docblock-short">Runs first in the schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedFirst.html" title="struct bevy::app::prelude::FixedFirst">FixedFirst</a></div><div class="desc docblock-short">Runs first in the <a href="../struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a> schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedLast.html" title="struct bevy::app::prelude::FixedLast">FixedLast</a></div><div class="desc docblock-short">The schedule that runs last in <a href="../struct.FixedMain.html" title="struct bevy::app::FixedMain"><code>FixedMain</code></a></div></li><li><div class="item-name"><a class="struct" href="struct.FixedPostUpdate.html" title="struct bevy::app::prelude::FixedPostUpdate">FixedPostUpdate</a></div><div class="desc docblock-short">The schedule that runs after the <a href="../struct.FixedUpdate.html" title="struct bevy::app::FixedUpdate"><code>FixedUpdate</code></a> schedule, for reacting
|
||||
to changes made in the main update logic.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedPreUpdate.html" title="struct bevy::app::prelude::FixedPreUpdate">FixedPreUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run before <a href="../struct.FixedUpdate.html" title="struct bevy::app::FixedUpdate"><code>FixedUpdate</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.FixedUpdate.html" title="struct bevy::app::prelude::FixedUpdate">FixedUpdate</a></div><div class="desc docblock-short">The schedule that contains most gameplay logic.</div></li><li><div class="item-name"><a class="struct" href="struct.Last.html" title="struct bevy::app::prelude::Last">Last</a></div><div class="desc docblock-short">Runs last in the schedule.</div></li><li><div class="item-name"><a class="struct" href="struct.Main.html" title="struct bevy::app::prelude::Main">Main</a></div><div class="desc docblock-short">The schedule that contains the app logic that is evaluated each tick of <a href="../struct.App.html#method.update" title="method bevy::app::App::update"><code>App::update()</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PostStartup.html" title="struct bevy::app::prelude::PostStartup">PostStartup</a></div><div class="desc docblock-short">The schedule that runs once after <a href="../struct.Startup.html" title="struct bevy::app::Startup"><code>Startup</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PostUpdate.html" title="struct bevy::app::prelude::PostUpdate">PostUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run after <a href="../struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a>. For example, synchronizing “local transforms” in a hierarchy
|
||||
to “global” absolute transforms. This enables the <a href="../struct.PostUpdate.html" title="struct bevy::app::PostUpdate"><code>PostUpdate</code></a> transform-sync system to react to “local transform” changes in
|
||||
<a href="../struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> without the <a href="../struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> systems needing to know about (or add scheduler dependencies for) the “global transform sync system”.</div></li><li><div class="item-name"><a class="struct" href="struct.PreStartup.html" title="struct bevy::app::prelude::PreStartup">PreStartup</a></div><div class="desc docblock-short">The schedule that runs before <a href="../struct.Startup.html" title="struct bevy::app::Startup"><code>Startup</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.PreUpdate.html" title="struct bevy::app::prelude::PreUpdate">PreUpdate</a></div><div class="desc docblock-short">The schedule that contains logic that must run before <a href="../struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a>. For example, a system that reads raw keyboard
|
||||
input OS events into an <code>Events</code> resource. This enables systems in <a href="../struct.Update.html" title="struct bevy::app::Update"><code>Update</code></a> to consume the events from the <code>Events</code>
|
||||
resource without actually knowing about (or taking a direct scheduler dependency on) the “os-level keyboard event system”.</div></li><li><div class="item-name"><a class="struct" href="struct.SpawnScene.html" title="struct bevy::app::prelude::SpawnScene">SpawnScene</a></div><div class="desc docblock-short">The schedule that contains scene spawning.</div></li><li><div class="item-name"><a class="struct" href="struct.Startup.html" title="struct bevy::app::prelude::Startup">Startup</a></div><div class="desc docblock-short">The schedule that runs once when the app starts.</div></li><li><div class="item-name"><a class="struct" href="struct.StateTransition.html" title="struct bevy::app::prelude::StateTransition">StateTransition</a></div><div class="desc docblock-short">Runs <a href="../../ecs/schedule/trait.States.html" title="trait bevy::ecs::schedule::States">state transitions</a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Update.html" title="struct bevy::app::prelude::Update">Update</a></div><div class="desc docblock-short">The schedule that contains app logic. Ideally containing anything that must run once per
|
||||
render frame, such as UI.</div></li></ul><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Plugin.html" title="trait bevy::app::prelude::Plugin">Plugin</a></div><div class="desc docblock-short">A collection of Bevy app logic and configuration.</div></li><li><div class="item-name"><a class="trait" href="trait.PluginGroup.html" title="trait bevy::app::prelude::PluginGroup">PluginGroup</a></div><div class="desc docblock-short">Combines multiple <a href="../trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s into a single unit.</div></li></ul><h2 id="derives" class="small-section-header"><a href="#derives">Derive Macros</a></h2><ul class="item-table"><li><div class="item-name"><a class="derive" href="derive.DynamicPlugin.html" title="derive bevy::app::prelude::DynamicPlugin">DynamicPlugin</a></div><div class="desc docblock-short">Generates a dynamic plugin entry point function for the given <code>Plugin</code> type.</div></li></ul></section></div></main></body></html>
|
1
bevy/app/prelude/sidebar-items.js
Normal file
1
bevy/app/prelude/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"derive":["DynamicPlugin"],"struct":["App","First","FixedFirst","FixedLast","FixedPostUpdate","FixedPreUpdate","FixedUpdate","Last","Main","PostStartup","PostUpdate","PreStartup","PreUpdate","SpawnScene","Startup","StateTransition","Update"],"trait":["Plugin","PluginGroup"]};
|
405
bevy/app/prelude/struct.App.html
Normal file
405
bevy/app/prelude/struct.App.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.First.html
Normal file
52
bevy/app/prelude/struct.First.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/app/prelude/struct.FixedFirst.html
Normal file
53
bevy/app/prelude/struct.FixedFirst.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/app/prelude/struct.FixedLast.html
Normal file
53
bevy/app/prelude/struct.FixedLast.html
Normal file
File diff suppressed because one or more lines are too long
54
bevy/app/prelude/struct.FixedPostUpdate.html
Normal file
54
bevy/app/prelude/struct.FixedPostUpdate.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/app/prelude/struct.FixedPreUpdate.html
Normal file
53
bevy/app/prelude/struct.FixedPreUpdate.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/app/prelude/struct.FixedUpdate.html
Normal file
53
bevy/app/prelude/struct.FixedUpdate.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.Last.html
Normal file
52
bevy/app/prelude/struct.Last.html
Normal file
File diff suppressed because one or more lines are too long
73
bevy/app/prelude/struct.Main.html
Normal file
73
bevy/app/prelude/struct.Main.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.PostStartup.html
Normal file
52
bevy/app/prelude/struct.PostStartup.html
Normal file
File diff suppressed because one or more lines are too long
56
bevy/app/prelude/struct.PostUpdate.html
Normal file
56
bevy/app/prelude/struct.PostUpdate.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.PreStartup.html
Normal file
52
bevy/app/prelude/struct.PreStartup.html
Normal file
File diff suppressed because one or more lines are too long
56
bevy/app/prelude/struct.PreUpdate.html
Normal file
56
bevy/app/prelude/struct.PreUpdate.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.SpawnScene.html
Normal file
52
bevy/app/prelude/struct.SpawnScene.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.Startup.html
Normal file
52
bevy/app/prelude/struct.Startup.html
Normal file
File diff suppressed because one or more lines are too long
52
bevy/app/prelude/struct.StateTransition.html
Normal file
52
bevy/app/prelude/struct.StateTransition.html
Normal file
File diff suppressed because one or more lines are too long
53
bevy/app/prelude/struct.Update.html
Normal file
53
bevy/app/prelude/struct.Update.html
Normal file
File diff suppressed because one or more lines are too long
75
bevy/app/prelude/trait.Plugin.html
Normal file
75
bevy/app/prelude/trait.Plugin.html
Normal file
File diff suppressed because one or more lines are too long
16
bevy/app/prelude/trait.PluginGroup.html
Normal file
16
bevy/app/prelude/trait.PluginGroup.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!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="Combines multiple `Plugin`s into a single unit."><title>PluginGroup in bevy::app::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-9ee3a5e31a2afa3e.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="bevy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)" data-channel="1.75.0" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="icon" href="https://bevyengine.org/assets/icon-docs-dev.png"><meta name="robots" content="noindex">
|
||||
|
||||
</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">☰</button><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../bevy/index.html"><img src="https://bevyengine.org/assets/icon-docs-dev.png" alt="logo"></a><h2><a href="../../../bevy/index.html">bevy</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">PluginGroup</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.build">build</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.name">name</a></li><li><a href="#method.set">set</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In bevy::app::prelude</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../index.html">bevy</a>::<wbr><a href="../index.html">app</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="trait" href="#">PluginGroup</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait PluginGroup: <a class="trait" href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
||||
// Required method
|
||||
fn <a href="#tymethod.build" class="fn">build</a>(self) -> <a class="struct" href="../struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a>;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.name" class="fn">name</a>() -> <a class="struct" href="../../utils/smallvec/alloc/string/struct.String.html" title="struct bevy::utils::smallvec::alloc::string::String">String</a> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.set" class="fn">set</a><T>(self, plugin: T) -> <a class="struct" href="../struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a>
|
||||
<span class="where">where T: <a class="trait" href="../trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a></span> { ... }
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Combines multiple <a href="../trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s into a single unit.</p>
|
||||
</div></details><h2 id="required-methods" class="small-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.build" class="method"><h4 class="code-header">fn <a href="#tymethod.build" class="fn">build</a>(self) -> <a class="struct" href="../struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a></h4></section></summary><div class="docblock"><p>Configures the <a href="../trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>s that are to be added.</p>
|
||||
</div></details></div><h2 id="provided-methods" class="small-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.name" class="method"><h4 class="code-header">fn <a href="#method.name" class="fn">name</a>() -> <a class="struct" href="../../utils/smallvec/alloc/string/struct.String.html" title="struct bevy::utils::smallvec::alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Configures a name for the <a href="../trait.PluginGroup.html" title="trait bevy::app::PluginGroup"><code>PluginGroup</code></a> which is primarily used for debugging.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.set" class="method"><h4 class="code-header">fn <a href="#method.set" class="fn">set</a><T>(self, plugin: T) -> <a class="struct" href="../struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a><span class="where fmt-newline">where
|
||||
T: <a class="trait" href="../trait.Plugin.html" title="trait bevy::app::Plugin">Plugin</a>,</span></h4></section></summary><div class="docblock"><p>Sets the value of the given <a href="../trait.Plugin.html" title="trait bevy::app::Plugin"><code>Plugin</code></a>, if it exists</p>
|
||||
</div></details></div><h2 id="object-safety" class="small-section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.75.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-PluginGroup-for-DefaultPlugins" class="impl"><a href="#impl-PluginGroup-for-DefaultPlugins" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.PluginGroup.html" title="trait bevy::app::PluginGroup">PluginGroup</a> for <a class="struct" href="../../struct.DefaultPlugins.html" title="struct bevy::DefaultPlugins">DefaultPlugins</a></h3></section><section id="impl-PluginGroup-for-MinimalPlugins" class="impl"><a href="#impl-PluginGroup-for-MinimalPlugins" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.PluginGroup.html" title="trait bevy::app::PluginGroup">PluginGroup</a> for <a class="struct" href="../../struct.MinimalPlugins.html" title="struct bevy::MinimalPlugins">MinimalPlugins</a></h3></section><section id="impl-PluginGroup-for-PluginGroupBuilder" class="impl"><a href="#impl-PluginGroup-for-PluginGroupBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.PluginGroup.html" title="trait bevy::app::PluginGroup">PluginGroup</a> for <a class="struct" href="../struct.PluginGroupBuilder.html" title="struct bevy::app::PluginGroupBuilder">PluginGroupBuilder</a></h3></section></div><script src="../../../trait.impl/bevy_app/plugin_group/trait.PluginGroup.js" data-ignore-extern-crates="bevy_internal,bevy_app" async></script></section></div></main></body></html>
|
1
bevy/app/sidebar-items.js
Normal file
1
bevy/app/sidebar-items.js
Normal file
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"derive":["AppLabel","DynamicPlugin"],"enum":["PluginsState","RunMode"],"mod":["ci_testing","prelude"],"struct":["App","AppExit","First","FixedFirst","FixedLast","FixedMain","FixedMainScheduleOrder","FixedPostUpdate","FixedPreUpdate","FixedUpdate","Last","Main","MainScheduleOrder","MainSchedulePlugin","PluginGroupBuilder","PostStartup","PostUpdate","PreStartup","PreUpdate","RunFixedMainLoop","ScheduleRunnerPlugin","SpawnScene","Startup","StateTransition","SubApp","Update"],"trait":["AppLabel","DynEq","Plugin","PluginGroup","Plugins"],"type":["CreatePlugin","InternedAppLabel"]};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue