Deploying to gh-pages from @ maplibre/maplibre-rs@6aa0557c90 🚀

This commit is contained in:
maxammann 2022-07-17 14:19:41 +00:00
parent 13d0ec7ba9
commit ad596375d7
334 changed files with 1458 additions and 1304 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,10 +4,10 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Tessellated</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#required-methods">Required Methods</a></h3><ul><li><a href="#tymethod.tessellate">tessellate</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementors">Implementors</a></h3></div></section><h2 class="location"><a href="index.html">In maplibre::benchmarking::tessellation</a></h2><div id="sidebar-vars" data-name="Tessellated" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">benchmarking</a>::<wbr><a href="index.html">tessellation</a>::<wbr><a class="trait" href="#">Tessellated</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#21-26">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust trait"><code>pub trait Tessellated&lt;I:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&gt; {
<h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">benchmarking</a>::<wbr><a href="index.html">tessellation</a>::<wbr><a class="trait" href="#">Tessellated</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#20-25">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust trait"><code>pub trait Tessellated&lt;I:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a>&gt; {
fn <a href="#tymethod.tessellate" class="fnname">tessellate</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;self<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>VertexBuffers&lt;<a class="struct" href="../../render/shaders/struct.ShaderVertex.html" title="struct maplibre::render::shaders::ShaderVertex">ShaderVertex</a>, I&gt;, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An element that can be tessellated into vertex buffers.</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="rustdoc-toggle" open><summary><div id="tymethod.tessellate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#25">source</a></div><h4 class="code-header">fn <a href="#tymethod.tessellate" class="fnname">tessellate</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>VertexBuffers&lt;<a class="struct" href="../../render/shaders/struct.ShaderVertex.html" title="struct maplibre::render::shaders::ShaderVertex">ShaderVertex</a>, I&gt;, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></div></summary><div class="docblock"><p>Returns a vertex buffer which represents some object like a layer. Each object can contain
</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="rustdoc-toggle" open><summary><div id="tymethod.tessellate" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#24">source</a></div><h4 class="code-header">fn <a href="#tymethod.tessellate" class="fnname">tessellate</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>VertexBuffers&lt;<a class="struct" href="../../render/shaders/struct.ShaderVertex.html" title="struct maplibre::render::shaders::ShaderVertex">ShaderVertex</a>, I&gt;, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></div></summary><div class="docblock"><p>Returns a vertex buffer which represents some object like a layer. Each object can contain
multiple features. For each feature also the amount of indices is returned.</p>
</div></details></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"></div><script type="text/javascript" src="../../../implementors/maplibre/tessellation/trait.Tessellated.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,6 +4,6 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">IndexDataType</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::benchmarking::tessellation</a></h2><div id="sidebar-vars" data-name="IndexDataType" data-ty="type" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">benchmarking</a>::<wbr><a href="index.html">tessellation</a>::<wbr><a class="type" href="#">IndexDataType</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#18">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type IndexDataType = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Vertex buffers index data type.</p>
<h1 class="fqn"><span class="in-band">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">benchmarking</a>::<wbr><a href="index.html">tessellation</a>::<wbr><a class="type" href="#">IndexDataType</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/tessellation/mod.rs.html#17">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type IndexDataType = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Vertex buffers index data type.</p>
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module zero_tessellator</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li></ul></div></section><div id="sidebar-vars" data-name="zero_tessellator" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">benchmarking</a>::<wbr><a href="../index.html">tessellation</a>::<wbr><a class="mod" href="#">zero_tessellator</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/tessellation/zero_tessellator.rs.html#1-197">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tessellator implementation.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">benchmarking</a>::<wbr><a href="../index.html">tessellation</a>::<wbr><a class="mod" href="#">zero_tessellator</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/tessellation/zero_tessellator.rs.html#1-200">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tessellator implementation.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ZeroTessellator.html" title="maplibre::benchmarking::tessellation::zero_tessellator::ZeroTessellator struct">ZeroTessellator</a></div><div class="item-right docblock-short"><p>Build tessellations with vectors.</p>
</div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module context</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li></ul></div></section><div id="sidebar-vars" data-name="context" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/context.rs.html#1-90">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/context.rs.html#1-94">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.MapContext.html" title="maplibre::context::MapContext struct">MapContext</a></div><div class="item-right docblock-short"><p>Stores the context of the map.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ViewState.html" title="maplibre::context::ViewState struct">ViewState</a></div><div class="item-right docblock-short"><p>Stores the camera configuration.</p>
</div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">MapContext</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.renderer">renderer</a></li><li><a href="#structfield.style">style</a></li><li><a href="#structfield.tile_repository">tile_repository</a></li><li><a href="#structfield.view_state">view_state</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::context</a></h2><div id="sidebar-vars" data-name="MapContext" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">MapContext</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/context.rs.html#84-90">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct MapContext {
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">MapContext</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/context.rs.html#88-94">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct MapContext {
pub view_state: <a class="struct" href="struct.ViewState.html" title="struct maplibre::context::ViewState">ViewState</a>,
pub style: <a class="struct" href="../style/style/struct.Style.html" title="struct maplibre::style::style::Style">Style</a>,
pub tile_repository: <a class="struct" href="../io/tile_repository/struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a>,

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="EXTENT" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#13">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a> = EXTENT_UINT as f64; // 4096f64</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#17">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a> = EXTENT_UINT as f64; // 4096f64</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="EXTENT_SINT" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT_SINT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#12">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT_SINT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.i32.html">i32</a> = EXTENT_UINT as i32; // 4_096i32</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT_SINT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#16">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT_SINT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.i32.html">i32</a> = EXTENT_UINT as i32; // 4_096i32</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="EXTENT_UINT" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT_UINT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#11">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT_UINT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a> = 4096;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">EXTENT_UINT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#15">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const EXTENT_UINT: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a> = 4096;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="MAX_ZOOM" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">MAX_ZOOM</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#15">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const MAX_ZOOM: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a> = 32;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">MAX_ZOOM</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#19">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const MAX_ZOOM: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a> = 32;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="TILE_SIZE" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">TILE_SIZE</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#14">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const TILE_SIZE: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a> = 512.0;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">TILE_SIZE</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#18">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const TILE_SIZE: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a> = 512.0;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="ZOOM_BOUNDS" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">ZOOM_BOUNDS</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#19">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const ZOOM_BOUNDS: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; 32]</a>;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="constant" href="#">ZOOM_BOUNDS</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#23">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const ZOOM_BOUNDS: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; 32]</a>;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="create_zoom_bounds" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="fn" href="#">create_zoom_bounds</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#21-29">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>const fn create_zoom_bounds&lt;const DIM:&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a>&gt;() -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; DIM]</a></code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="fn" href="#">create_zoom_bounds</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#25-33">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>const fn create_zoom_bounds&lt;const DIM:&nbsp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a>&gt;() -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; DIM]</a></code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="tiles_with_z" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="fn" href="#">tiles_with_z</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#468-470">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn tiles_with_z(z: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="fn" href="#">tiles_with_z</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#472-474">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>fn tiles_with_z(z: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module coords</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div></section><div id="sidebar-vars" data-name="coords" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">coords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#1-715">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Provides utilities related to coordinates.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">coords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#1-720">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Provides utilities related to coordinates.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.AlignedWorldTileCoords.html" title="maplibre::coords::AlignedWorldTileCoords struct">AlignedWorldTileCoords</a></div><div class="item-right docblock-short"><p>An aligned world tile coordinate aligns a world coordinate at a 4x4 tile raster within the
world. The aligned coordinates is defined by the coordinates of the upper left tile in the 4x4

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">InnerCoords</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.x">x</a></li><li><a href="#structfield.y">y</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li><li><a href="#impl-Copy">Copy</a></li><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Default">Default</a></li><li><a href="#impl-PartialEq%3CInnerCoords%3E">PartialEq&lt;InnerCoords&gt;</a></li><li><a href="#impl-StructuralPartialEq">StructuralPartialEq</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="InnerCoords" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">InnerCoords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#204-207">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct InnerCoords {
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">InnerCoords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#208-211">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct InnerCoords {
pub x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>,
pub y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Within each tile there is a separate coordinate system. Usually this coordinate system is
@ -12,14 +12,14 @@ within <a href="constant.EXTENT.html" title="crate::coords::EXTENT"><code>crate:
<a href="constant.EXTENT.html" title="crate::coords::EXTENT"><code>crate::coords::EXTENT</code></a>.</p>
<h2 id="coordinate-system-origin"><a href="#coordinate-system-origin">Coordinate System Origin</a></h2>
<p>The origin is in the upper-left corner.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.x" class="structfield small-section-header"><a href="#structfield.x" class="anchor field"></a><code>x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.y" class="structfield small-section-header"><a href="#structfield.y" class="anchor field"></a><code>y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.x" class="structfield small-section-header"><a href="#structfield.x" class="anchor field"></a><code>x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.y" class="structfield small-section-header"><a href="#structfield.y" class="anchor field"></a><code>y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CInnerCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-PartialEq%3CInnerCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>&gt; for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CInnerCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-PartialEq%3CInnerCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>&gt; for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#203">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#207">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.InnerCoords.html" title="struct maplibre::coords::InnerCoords">InnerCoords</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Downcast" class="impl has-srclink"><a href="#impl-Downcast" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; Downcast for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl has-srclink"><a href="#method.into_any" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'><p>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can

View File

@ -4,11 +4,11 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">LatLon</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Tuple Fields</a></h3></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.new">new</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li><li><a href="#impl-Copy">Copy</a></li><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Default">Default</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="LatLon" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">LatLon</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#111">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct LatLon(<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>);</code></pre></div><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="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.1" class="structfield small-section-header"><a href="#structfield.1" class="anchor field"></a><code>1: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#113-117">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114-116">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(latitude: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, longitude: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>) -&gt; Self</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#110">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#110">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">LatLon</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#115">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct LatLon(<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>);</code></pre></div><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="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.1" class="structfield small-section-header"><a href="#structfield.1" class="anchor field"></a><code>1: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#117-121">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#118-120">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(latitude: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, longitude: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>) -&gt; Self</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#110">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#110">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#119-123">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#120-122">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; Self</h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#110">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#123-127">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#124-126">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; Self</h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#114">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Downcast" class="impl has-srclink"><a href="#impl-Downcast" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; Downcast for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl has-srclink"><a href="#method.into_any" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'><p>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">WorldCoords</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.x">x</a></li><li><a href="#structfield.y">y</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.at_ground">at_ground</a></li><li><a href="#method.from_lat_lon">from_lat_lon</a></li><li><a href="#method.into_world_tile">into_world_tile</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li><li><a href="#impl-Copy">Copy</a></li><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Default">Default</a></li><li><a href="#impl-Display">Display</a></li><li><a href="#impl-From%3C(f32%2C%20f32)%3E">From&lt;(f32, f32)&gt;</a></li><li><a href="#impl-From%3C(f64%2C%20f64)%3E">From&lt;(f64, f64)&gt;</a></li><li><a href="#impl-From%3CPoint3%3Cf64%3E%3E">From&lt;Point3&lt;f64&gt;&gt;</a></li><li><a href="#impl-From%3CWorldCoords%3E">From&lt;WorldCoords&gt;</a></li><li><a href="#impl-PartialEq%3CWorldCoords%3E">PartialEq&lt;WorldCoords&gt;</a></li><li><a href="#impl-StructuralPartialEq">StructuralPartialEq</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::coords</a></h2><div id="sidebar-vars" data-name="WorldCoords" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">WorldCoords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#463-466">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct WorldCoords {
<h1 class="fqn"><span class="in-band">Struct <a href="../index.html">maplibre</a>::<wbr><a href="index.html">coords</a>::<wbr><a class="struct" href="#">WorldCoords</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/coords.rs.html#467-470">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct WorldCoords {
pub x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>,
pub y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Actual coordinates within the 3D world. The <code>z</code> value of the [<code>WorldCoors</code>] is not related to
@ -12,19 +12,19 @@ the <code>z</code> value of the [<code>WorldTileCoors</code>]. In the 3D world a
which are determined only by the render engine and not by the zoom level.</p>
<h2 id="coordinate-system-origin"><a href="#coordinate-system-origin">Coordinate System Origin</a></h2>
<p>The origin of the coordinate system is in the upper-left corner.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.x" class="structfield small-section-header"><a href="#structfield.x" class="anchor field"></a><code>x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.y" class="structfield small-section-header"><a href="#structfield.y" class="anchor field"></a><code>y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#472-503">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><section id="method.from_lat_lon" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#473-486">source</a></span><a href="#method.from_lat_lon" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.from_lat_lon" class="fnname">from_lat_lon</a>(lat_lon: <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a>, zoom: <a class="struct" href="struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>) -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section><section id="method.at_ground" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#488-490">source</a></span><a href="#method.at_ground" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.at_ground" class="fnname">at_ground</a>(x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>) -&gt; Self</h4></section><section id="method.into_world_tile" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#492-502">source</a></span><a href="#method.into_world_tile" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.into_world_tile" class="fnname">into_world_tile</a>(self, z: <a class="struct" href="struct.ZoomLevel.html" title="struct maplibre::coords::ZoomLevel">ZoomLevel</a>, zoom: <a class="struct" href="struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>) -&gt; <a class="struct" href="struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.x" class="structfield small-section-header"><a href="#structfield.x" class="anchor field"></a><code>x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.y" class="structfield small-section-header"><a href="#structfield.y" class="anchor field"></a><code>y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#476-507">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><section id="method.from_lat_lon" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#477-490">source</a></span><a href="#method.from_lat_lon" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.from_lat_lon" class="fnname">from_lat_lon</a>(lat_lon: <a class="struct" href="struct.LatLon.html" title="struct maplibre::coords::LatLon">LatLon</a>, zoom: <a class="struct" href="struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>) -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section><section id="method.at_ground" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#492-494">source</a></span><a href="#method.at_ground" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.at_ground" class="fnname">at_ground</a>(x: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, y: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>) -&gt; Self</h4></section><section id="method.into_world_tile" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#496-506">source</a></span><a href="#method.into_world_tile" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.into_world_tile" class="fnname">into_world_tile</a>(self, z: <a class="struct" href="struct.ZoomLevel.html" title="struct maplibre::coords::ZoomLevel">ZoomLevel</a>, zoom: <a class="struct" href="struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>) -&gt; <a class="struct" href="struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#614-618">source</a></span><a href="#impl-Display" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#615-617">source</a></span><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C(f32%2C%20f32)%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#505-512">source</a></span><a href="#impl-From%3C(f32%2C%20f32)%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#506-511">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(tuple: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C(f64%2C%20f64)%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#514-521">source</a></span><a href="#impl-From%3C(f64%2C%20f64)%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#515-520">source</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(tuple: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CPoint3%3Cf64%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#523-530">source</a></span><a href="#impl-From%3CPoint3%3Cf64%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Point3&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#524-529">source</a></span><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(point: Point3&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CWorldCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/render/shaders/mod.rs.html#13-17">source</a></span><a href="#impl-From%3CWorldCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; 3]</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/render/shaders/mod.rs.html#14-16">source</a></span><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(world_coords: <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CWorldCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-PartialEq%3CWorldCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#618-622">source</a></span><a href="#impl-Display" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#619-621">source</a></span><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C(f32%2C%20f32)%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#509-516">source</a></span><a href="#impl-From%3C(f32%2C%20f32)%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#510-515">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(tuple: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C(f64%2C%20f64)%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#518-525">source</a></span><a href="#impl-From%3C(f64%2C%20f64)%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#519-524">source</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(tuple: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CPoint3%3Cf64%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#527-534">source</a></span><a href="#impl-From%3CPoint3%3Cf64%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Point3&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#528-533">source</a></span><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(point: Point3&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CWorldCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/render/shaders/mod.rs.html#16-20">source</a></span><a href="#impl-From%3CWorldCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f32.html">f32</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.array.html">; 3]</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/render/shaders/mod.rs.html#17-19">source</a></span><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(world_coords: <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CWorldCoords%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-PartialEq%3CWorldCoords%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>&gt; for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#462">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&amp;self, other: &amp;<a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><section id="impl-Copy" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-Copy" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/coords.rs.html#466">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Downcast" class="impl has-srclink"><a href="#impl-Downcast" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; Downcast for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl has-srclink"><a href="#method.into_any" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static, <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;</h4></section></summary><div class='docblock'><p>Convert <code>Box&lt;dyn Trait&gt;</code> (where <code>Trait: Downcast</code>) to <code>Box&lt;dyn Any&gt;</code>. <code>Box&lt;dyn Any&gt;</code> can

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,18 +4,18 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Error</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#variants">Variants</a></h3><ul><li><a href="#variant.Network">Network</a></li><li><a href="#variant.Render">Render</a></li><li><a href="#variant.Schedule">Schedule</a></li><li><a href="#variant.Tesselation">Tesselation</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-From%3CError%3E">From&lt;Error&gt;</a></li><li><a href="#impl-From%3CError%3E-1">From&lt;Error&gt;</a></li><li><a href="#impl-From%3CSendError%3CT%3E%3E">From&lt;SendError&lt;T&gt;&gt;</a></li><li><a href="#impl-From%3CSurfaceError%3E">From&lt;SurfaceError&gt;</a></li><li><a href="#impl-From%3CTessellationError%3E">From&lt;TessellationError&gt;</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::error</a></h2><div id="sidebar-vars" data-name="Error" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Enum <a href="../index.html">maplibre</a>::<wbr><a href="index.html">error</a>::<wbr><a class="enum" href="#">Error</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#34-39">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum Error {
<h1 class="fqn"><span class="in-band">Enum <a href="../index.html">maplibre</a>::<wbr><a href="index.html">error</a>::<wbr><a class="enum" href="#">Error</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#33-38">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum Error {
Schedule,
Network(<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
Tesselation(TessellationError),
Render(<a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a>),
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Enumeration of errors which can happen during the operation of the library.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Schedule" class="variant small-section-header"><a href="#variant.Schedule" class="anchor field"></a><code>Schedule</code></h3><h3 id="variant.Network" class="variant small-section-header"><a href="#variant.Network" class="anchor field"></a><code>Network(<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></h3><h3 id="variant.Tesselation" class="variant small-section-header"><a href="#variant.Tesselation" class="anchor field"></a><code>Tesselation(TessellationError)</code></h3><h3 id="variant.Render" class="variant small-section-header"><a href="#variant.Render" class="anchor field"></a><code>Render(<a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a>)</code></h3><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#33">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#33">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#13-17">source</a></span><a href="#impl-From%3CError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://docs.rs/reqwest/0.11.11/reqwest/error/struct.Error.html" title="struct reqwest::error::Error">Error</a>&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#14-16">source</a></span><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://docs.rs/reqwest/0.11.11/reqwest/error/struct.Error.html" title="struct reqwest::error::Error">Error</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CError%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#19-23">source</a></span><a href="#impl-From%3CError%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#20-22">source</a></span><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CSendError%3CT%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#53-57">source</a></span><a href="#impl-From%3CSendError%3CT%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/std/sync/mpsc/struct.SendError.html" title="struct std::sync::mpsc::SendError">SendError</a>&lt;T&gt;&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#54-56">source</a></span><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(_e: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/sync/mpsc/struct.SendError.html" title="struct std::sync::mpsc::SendError">SendError</a>&lt;T&gt;) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CSurfaceError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#41-45">source</a></span><a href="#impl-From%3CSurfaceError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;SurfaceError&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#42-44">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(e: SurfaceError) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CTessellationError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#47-51">source</a></span><a href="#impl-From%3CTessellationError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;TessellationError&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#48-50">source</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(e: TessellationError) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Schedule" class="variant small-section-header"><a href="#variant.Schedule" class="anchor field"></a><code>Schedule</code></h3><h3 id="variant.Network" class="variant small-section-header"><a href="#variant.Network" class="anchor field"></a><code>Network(<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></h3><h3 id="variant.Tesselation" class="variant small-section-header"><a href="#variant.Tesselation" class="anchor field"></a><code>Tesselation(TessellationError)</code></h3><h3 id="variant.Render" class="variant small-section-header"><a href="#variant.Render" class="anchor field"></a><code>Render(<a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a>)</code></h3><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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#32">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#32">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#12-16">source</a></span><a href="#impl-From%3CError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://docs.rs/reqwest/0.11.11/reqwest/error/struct.Error.html" title="struct reqwest::error::Error">Error</a>&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#13-15">source</a></span><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://docs.rs/reqwest/0.11.11/reqwest/error/struct.Error.html" title="struct reqwest::error::Error">Error</a>) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CError%3E-1" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#18-22">source</a></span><a href="#impl-From%3CError%3E-1" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/platform/noweb/http_client.rs.html#19-21">source</a></span><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CSendError%3CT%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#52-56">source</a></span><a href="#impl-From%3CSendError%3CT%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/std/sync/mpsc/struct.SendError.html" title="struct std::sync::mpsc::SendError">SendError</a>&lt;T&gt;&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#53-55">source</a></span><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(_e: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/sync/mpsc/struct.SendError.html" title="struct std::sync::mpsc::SendError">SendError</a>&lt;T&gt;) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CSurfaceError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#40-44">source</a></span><a href="#impl-From%3CSurfaceError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;SurfaceError&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#41-43">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(e: SurfaceError) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CTessellationError%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#46-50">source</a></span><a href="#impl-From%3CTessellationError%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;TessellationError&gt; for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#47-49">source</a></span><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(e: TessellationError) -&gt; Self</h4></section></summary><div class='docblock'><p>Converts to this type from the input type.</p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Error.html" title="enum maplibre::error::Error">Error</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,10 +4,10 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">RenderError</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#variants">Variants</a></h3><ul><li><a href="#variant.Surface">Surface</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.should_exit">should_exit</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Display">Display</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::error</a></h2><div id="sidebar-vars" data-name="RenderError" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Enum <a href="../index.html">maplibre</a>::<wbr><a href="index.html">error</a>::<wbr><a class="enum" href="#">RenderError</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#9-11">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum RenderError {
<h1 class="fqn"><span class="in-band">Enum <a href="../index.html">maplibre</a>::<wbr><a href="index.html">error</a>::<wbr><a class="enum" href="#">RenderError</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#8-10">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum RenderError {
Surface(SurfaceError),
}</code></pre></div><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Surface" class="variant small-section-header"><a href="#variant.Surface" class="anchor field"></a><code>Surface(SurfaceError)</code></h3><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#21-30">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><section id="method.should_exit" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#22-29">source</a></span><a href="#method.should_exit" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.should_exit" class="fnname">should_exit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#8">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#8">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#13-19">source</a></span><a href="#impl-Display" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#14-18">source</a></span><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
}</code></pre></div><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Surface" class="variant small-section-header"><a href="#variant.Surface" class="anchor field"></a><code>Surface(SurfaceError)</code></h3><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#20-29">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><section id="method.should_exit" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#21-28">source</a></span><a href="#method.should_exit" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.should_exit" class="fnname">should_exit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#7">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#7">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#12-18">source</a></span><a href="#impl-Display" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../src/maplibre/error.rs.html#13-17">source</a></span><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.RenderError.html" title="enum maplibre::error::RenderError">RenderError</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module error</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="error" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">error</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#1-57">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Errors which can happen in various parts of the library.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">error</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/error.rs.html#1-56">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Errors which can happen in various parts of the library.</p>
</div></details><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Error.html" title="maplibre::error::Error enum">Error</a></div><div class="item-right docblock-short"><p>Enumeration of errors which can happen during the operation of the library.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.RenderError.html" title="maplibre::error::RenderError enum">RenderError</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Crate maplibre</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.0.2</li><li><a id="all-types" href="all.html">All Items</a></li></div></ul><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li></ul></div></section><div id="sidebar-vars" data-name="maplibre" data-ty="mod" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../maplibre/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">maplibre</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/maplibre/lib.rs.html#1-278">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><h2 id="maplibre-rs"><a href="#maplibre-rs">Maplibre-rs</a></h2>
<h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">maplibre</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/maplibre/lib.rs.html#1-284">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><h2 id="maplibre-rs"><a href="#maplibre-rs">Maplibre-rs</a></h2>
<p>A multi-platform library for rendering vector tile maps with WebGPU.</p>
<p>Maplibre-rs is a map renderer that can run natively on MacOS, Linux, Windows, Android, iOS and the web.
It takes advantage of Lyon to tessellate vector tiles and WebGPU to display them efficiently.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module geometry_index</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="geometry_index" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">geometry_index</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/geometry_index.rs.html#1-299">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Geometry index.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">geometry_index</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/geometry_index.rs.html#1-301">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Geometry index.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.GeometryIndex.html" title="maplibre::io::geometry_index::GeometryIndex struct">GeometryIndex</a></div><div class="item-right docblock-short"><p>A quad tree storing the currently loaded tiles.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.IndexProcessor.html" title="maplibre::io::geometry_index::IndexProcessor struct">IndexProcessor</a></div><div class="item-right docblock-short"><p>A processor able to create geometries using <code>[geozero::geo_types::GeoWriter]</code>.</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module pipeline</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></div></section><div id="sidebar-vars" data-name="pipeline" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">pipeline</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/pipeline.rs.html#1-239">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">pipeline</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/pipeline.rs.html#1-241">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ClosureProcessable.html" title="maplibre::io::pipeline::ClosureProcessable struct">ClosureProcessable</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.DataPipeline.html" title="maplibre::io::pipeline::DataPipeline struct">DataPipeline</a></div><div class="item-right docblock-short"><p>A pipeline which consists of multiple steps. Steps are <a href="trait.Processable.html" title="Processable"><code>Processable</code></a> workloads. Later steps
depend on previous ones.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.PipelineContext.html" title="maplibre::io::pipeline::PipelineContext struct">PipelineContext</a></div><div class="item-right docblock-short"><p>Context which is available to each step within a <a href="struct.DataPipeline.html" title="DataPipeline"><code>DataPipeline</code></a></p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,12 +4,12 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">SourceClient</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#variants">Variants</a></h3><ul><li><a href="#variant.Http">Http</a></li><li><a href="#variant.Mbtiles">Mbtiles</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.fetch">fetch</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::io::source_client</a></h2><div id="sidebar-vars" data-name="SourceClient" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="enum" href="#">SourceClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#36-44">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum SourceClient&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span> {
<h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="enum" href="#">SourceClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#35-43">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum SourceClient&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span> {
Http(<a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;),
Mbtiles {},
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines the different types of HTTP clients such as basic HTTP and Mbtiles.
More types might be coming such as S3 and other cloud http clients.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Http" class="variant small-section-header"><a href="#variant.Http" class="anchor field"></a><code>Http(<a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;)</code></h3><h3 id="variant.Mbtiles" class="variant small-section-header"><a href="#variant.Mbtiles" class="anchor field"></a><code>Mbtiles</code></h3><div class="sub-variant" id="variant.Mbtiles.fields"><h4>Fields</h4></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#46-56">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><section id="method.fetch" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#50-55">source</a></span><a href="#method.fetch" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.fetch" class="fnname">fetch</a>(&amp;self, coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#35">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#35">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt;</h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.Http" class="variant small-section-header"><a href="#variant.Http" class="anchor field"></a><code>Http(<a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;)</code></h3><h3 id="variant.Mbtiles" class="variant small-section-header"><a href="#variant.Mbtiles" class="anchor field"></a><code>Mbtiles</code></h3><div class="sub-variant" id="variant.Mbtiles.fields"><h4>Fields</h4></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#45-55">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><section id="method.fetch" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#49-54">source</a></span><a href="#method.fetch" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.fetch" class="fnname">fetch</a>(&amp;self, coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#34">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#34">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt;</h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,&nbsp;</span></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt;</h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt;</h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</span></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.SourceClient.html" title="enum maplibre::io::source_client::SourceClient">SourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,&nbsp;</span></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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module source_client</a></h2><div class="sidebar-elems"><section><div class="block"><ul><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 Definitions</a></li></ul></div></section><div id="sidebar-vars" data-name="source_client" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">source_client</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#1-82">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>HTTP client.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">source_client</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#1-81">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>HTTP client.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.HttpSourceClient.html" title="maplibre::io::source_client::HttpSourceClient struct">HttpSourceClient</a></div><div class="item-right docblock-short"><p>Gives access to the HTTP client which can be of multiple types,
see [crates::io::source_client::SourceClient]</p>

View File

@ -4,11 +4,11 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">HttpSourceClient</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.inner_client">inner_client</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.fetch">fetch</a></li><li><a href="#method.new">new</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Clone">Clone</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::io::source_client</a></h2><div id="sidebar-vars" data-name="HttpSourceClient" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="struct" href="#">HttpSourceClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#26-31">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct HttpSourceClient&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span> {
<h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="struct" href="#">HttpSourceClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#25-30">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct HttpSourceClient&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span> {
inner_client: HC,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Gives access to the HTTP client which can be of multiple types,
see [crates::io::source_client::SourceClient]</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.inner_client" class="structfield small-section-header"><a href="#structfield.inner_client" class="anchor field"></a><code>inner_client: HC</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#58-82">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#62-66">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(http_client: HC) -&gt; Self</h4></section><section id="method.fetch" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#68-81">source</a></span><a href="#method.fetch" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.fetch" class="fnname">fetch</a>(&amp;self, coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#25">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#25">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;</h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.inner_client" class="structfield small-section-header"><a href="#structfield.inner_client" class="anchor field"></a><code>inner_client: HC</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#57-81">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#61-65">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(http_client: HC) -&gt; Self</h4></section><section id="method.fetch" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#67-80">source</a></span><a href="#method.fetch" class="anchor"></a><h4 class="code-header">pub async fn <a href="#method.fetch" class="fnname">fetch</a>(&amp;self, coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;</h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#24">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC:&nbsp;<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#24">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;</h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,&nbsp;</span></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;</h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt;</h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,&nbsp;</span></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;HC&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.HttpSourceClient.html" title="struct maplibre::io::source_client::HttpSourceClient">HttpSourceClient</a>&lt;HC&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;HC: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,&nbsp;</span></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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

View File

@ -4,12 +4,12 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">HttpClient</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#required-methods">Required Methods</a></h3><ul><li><a href="#tymethod.fetch">fetch</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementors">Implementors</a></h3></div></section><h2 class="location"><a href="index.html">In maplibre::io::source_client</a></h2><div id="sidebar-vars" data-name="HttpClient" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="trait" href="#">HttpClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#19-21">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust trait"><code>pub trait HttpClient: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static {
<h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="trait" href="#">HttpClient</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#18-20">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust trait"><code>pub trait HttpClient: <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static {
fn <a href="#tymethod.fetch" class="fnname">fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<br>&nbsp;&nbsp;&nbsp; <span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait</span>;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>On the web platform futures are not thread-safe (i.e. not Send). This means we need to tell
async_trait that these bounds should not be placed on the async trait:
<a href="https://github.com/dtolnay/async-trait/blob/b70720c4c1cc0d810b7446efda44f81310ee7bf2/README.md#non-threadsafe-futures">https://github.com/dtolnay/async-trait/blob/b70720c4c1cc0d810b7446efda44f81310ee7bf2/README.md#non-threadsafe-futures</a></p>
<p>Users of this library can decide whether futures from the HTTPClient are thread-safe or not via
the future “no-thread-safe-futures”. Tokio futures are thread-safe.</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.fetch" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#20">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch" class="fnname">fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;url: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-HttpClient" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/platform/noweb/http_client.rs.html#44-59">source</a></span><a href="#impl-HttpClient" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a> for <a class="struct" href="../../platform/noweb/http_client/struct.ReqwestHttpClient.html" title="struct maplibre::platform::noweb::http_client::ReqwestHttpClient">ReqwestHttpClient</a></h3></section></div><script type="text/javascript" src="../../../implementors/maplibre/io/source_client/trait.HttpClient.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.fetch" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#19">source</a></div><h4 class="code-header">fn <a href="#tymethod.fetch" class="fnname">fetch</a>&lt;'life0, 'life1, 'async_trait&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;'life0 self, <br>&nbsp;&nbsp;&nbsp;&nbsp;url: &amp;'life1 <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a><br>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u8.html">u8</a>&gt;, <a class="enum" href="../../error/enum.Error.html" title="enum maplibre::error::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;'life0: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;'life1: 'async_trait,<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: 'async_trait,&nbsp;</span></h4></div></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-HttpClient" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/platform/noweb/http_client.rs.html#43-58">source</a></span><a href="#impl-HttpClient" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.HttpClient.html" title="trait maplibre::io::source_client::HttpClient">HttpClient</a> for <a class="struct" href="../../platform/noweb/http_client/struct.ReqwestHttpClient.html" title="struct maplibre::platform::noweb::http_client::ReqwestHttpClient">ReqwestHttpClient</a></h3></section></div><script type="text/javascript" src="../../../implementors/maplibre/io/source_client/trait.HttpClient.js" data-ignore-extern-crates="" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,6 +4,6 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">HTTPClientFactory</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::io::source_client</a></h2><div id="sidebar-vars" data-name="HTTPClientFactory" data-ty="type" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="type" href="#">HTTPClientFactory</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#9">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type HTTPClientFactory&lt;HC&gt; = dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; HC;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A closure that returns a HTTP client.</p>
<h1 class="fqn"><span class="in-band">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">source_client</a>::<wbr><a class="type" href="#">HTTPClientFactory</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/source_client.rs.html#8">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type HTTPClientFactory&lt;HC&gt; = dyn <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; HC;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A closure that returns a HTTP client.</p>
</div></details></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::io::tile_pipelines</a></h2><div id="sidebar-vars" data-name="build_vector_tile_pipeline" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Function <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_pipelines</a>::<wbr><a class="fn" href="#">build_vector_tile_pipeline</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_pipelines.rs.html#124-129">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn build_vector_tile_pipeline(<br>) -&gt; impl <a class="trait" href="../pipeline/trait.Processable.html" title="trait maplibre::io::pipeline::Processable">Processable</a>&lt;Input = &lt;<a class="struct" href="struct.ParseTile.html" title="struct maplibre::io::tile_pipelines::ParseTile">ParseTile</a> as <a class="trait" href="../pipeline/trait.Processable.html" title="trait maplibre::io::pipeline::Processable">Processable</a>&gt;::<a class="associatedtype" href="../pipeline/trait.Processable.html#associatedtype.Input" title="type maplibre::io::pipeline::Processable::Input">Input</a>&gt;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Function <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_pipelines</a>::<wbr><a class="fn" href="#">build_vector_tile_pipeline</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_pipelines.rs.html#129-134">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn build_vector_tile_pipeline(<br>) -&gt; impl <a class="trait" href="../pipeline/trait.Processable.html" title="trait maplibre::io::pipeline::Processable">Processable</a>&lt;Input = &lt;<a class="struct" href="struct.ParseTile.html" title="struct maplibre::io::tile_pipelines::ParseTile">ParseTile</a> as <a class="trait" href="../pipeline/trait.Processable.html" title="trait maplibre::io::pipeline::Processable">Processable</a>&gt;::<a class="associatedtype" href="../pipeline/trait.Processable.html#associatedtype.Input" title="type maplibre::io::pipeline::Processable::Input">Input</a>&gt;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module tile_pipelines</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></div></section><div id="sidebar-vars" data-name="tile_pipelines" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_pipelines</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_pipelines.rs.html#1-159">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_pipelines</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_pipelines.rs.html#1-168">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.IndexLayer.html" title="maplibre::io::tile_pipelines::IndexLayer struct">IndexLayer</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ParseTile.html" title="maplibre::io::tile_pipelines::ParseTile struct">ParseTile</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.TessellateLayer.html" title="maplibre::io::tile_pipelines::TessellateLayer struct">TessellateLayer</a></div><div class="item-right docblock-short"></div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.build_vector_tile_pipeline.html" title="maplibre::io::tile_pipelines::build_vector_tile_pipeline fn">build_vector_tile_pipeline</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">StoredLayer</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#variants">Variants</a></h3><ul><li><a href="#variant.TessellatedLayer">TessellatedLayer</a></li><li><a href="#variant.UnavailableLayer">UnavailableLayer</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.get_coords">get_coords</a></li><li><a href="#method.layer_name">layer_name</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Into%3CStoredLayer%3E">Into&lt;StoredLayer&gt;</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::io::tile_repository</a></h2><div id="sidebar-vars" data-name="StoredLayer" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_repository</a>::<wbr><a class="enum" href="#">StoredLayer</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#10-22">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum StoredLayer {
<h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_repository</a>::<wbr><a class="enum" href="#">StoredLayer</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#14-26">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust enum"><code>pub enum StoredLayer {
UnavailableLayer {
coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,
layer_name: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
@ -17,7 +17,7 @@
},
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A layer which is stored for future use.</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor"></a></h2><h3 id="variant.UnavailableLayer" class="variant small-section-header"><a href="#variant.UnavailableLayer" class="anchor field"></a><code>UnavailableLayer</code></h3><div class="sub-variant" id="variant.UnavailableLayer.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.UnavailableLayer.field.coords" class="variant small-section-header"><a href="#variant.UnavailableLayer.field.coords" class="anchor field"></a><code>coords:&nbsp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></code></span></div><div class="sub-variant-field"><span id="variant.UnavailableLayer.field.layer_name" class="variant small-section-header"><a href="#variant.UnavailableLayer.field.layer_name" class="anchor field"></a><code>layer_name:&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span></div></div><h3 id="variant.TessellatedLayer" class="variant small-section-header"><a href="#variant.TessellatedLayer" class="anchor field"></a><code>TessellatedLayer</code></h3><div class="sub-variant" id="variant.TessellatedLayer.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.TessellatedLayer.field.coords" class="variant small-section-header"><a href="#variant.TessellatedLayer.field.coords" class="anchor field"></a><code>coords:&nbsp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></code></span></div><div class="sub-variant-field"><span id="variant.TessellatedLayer.field.buffer" class="variant small-section-header"><a href="#variant.TessellatedLayer.field.buffer" class="anchor field"></a><code>buffer:&nbsp;<a class="struct" href="../../benchmarking/tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::benchmarking::tessellation::OverAlignedVertexBuffer">OverAlignedVertexBuffer</a>&lt;<a class="struct" href="../../render/shaders/struct.ShaderVertex.html" title="struct maplibre::render::shaders::ShaderVertex">ShaderVertex</a>, <a class="type" href="../../benchmarking/tessellation/type.IndexDataType.html" title="type maplibre::benchmarking::tessellation::IndexDataType">IndexDataType</a>&gt;</code></span></div><div class="sub-variant-field"><span id="variant.TessellatedLayer.field.feature_indices" class="variant small-section-header"><a href="#variant.TessellatedLayer.field.feature_indices" class="anchor field"></a><code>feature_indices:&nbsp;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.u32.html">u32</a>&gt;</code></span><div class="docblock"><p>Holds for each feature the count of indices.</p>
</div></div><div class="sub-variant-field"><span id="variant.TessellatedLayer.field.layer_data" class="variant small-section-header"><a href="#variant.TessellatedLayer.field.layer_data" class="anchor field"></a><code>layer_data:&nbsp;<a class="struct" href="../struct.RawLayer.html" title="struct maplibre::io::RawLayer">Layer</a></code></span></div></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#24-38">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section></summary><div class="impl-items"><section id="method.get_coords" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#25-30">source</a></span><a href="#method.get_coords" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_coords" class="fnname">get_coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></section><section id="method.layer_name" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#32-37">source</a></span><a href="#method.layer_name" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.layer_name" class="fnname">layer_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Into%3CStoredLayer%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/stages/message.rs.html#44-63">source</a></span><a href="#impl-Into%3CStoredLayer%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>&gt; for <a class="enum" href="../../stages/message/enum.LayerTessellateMessage.html" title="enum maplibre::stages::message::LayerTessellateMessage">LayerTessellateMessage</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/stages/message.rs.html#45-62">source</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -&gt; <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h4></section></summary><div class='docblock'><p>Converts this type into the (usually inferred) input type.</p>
</div></div><div class="sub-variant-field"><span id="variant.TessellatedLayer.field.layer_data" class="variant small-section-header"><a href="#variant.TessellatedLayer.field.layer_data" class="anchor field"></a><code>layer_data:&nbsp;<a class="struct" href="../struct.RawLayer.html" title="struct maplibre::io::RawLayer">Layer</a></code></span></div></div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#28-42">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section></summary><div class="impl-items"><section id="method.get_coords" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#29-34">source</a></span><a href="#method.get_coords" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_coords" class="fnname">get_coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></section><section id="method.layer_name" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#36-41">source</a></span><a href="#method.layer_name" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.layer_name" class="fnname">layer_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a></h4></section></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Into%3CStoredLayer%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/stages/message.rs.html#43-62">source</a></span><a href="#impl-Into%3CStoredLayer%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>&gt; for <a class="enum" href="../../stages/message/enum.LayerTessellateMessage.html" title="enum maplibre::stages::message::LayerTessellateMessage">LayerTessellateMessage</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/stages/message.rs.html#44-61">source</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -&gt; <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h4></section></summary><div class='docblock'><p>Converts this type into the (usually inferred) input type.</p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module tile_repository</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="tile_repository" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_repository</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#1-137">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tile cache.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_repository</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#1-141">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tile cache.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.StoredTile.html" title="maplibre::io::tile_repository::StoredTile struct">StoredTile</a></div><div class="item-right docblock-short"><p>Stores multiple <a href="enum.StoredLayer.html">StoredLayers</a>.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.TileRepository.html" title="maplibre::io::tile_repository::TileRepository struct">TileRepository</a></div><div class="item-right docblock-short"><p>Stores and provides access to a quad tree of cached tiles with world tile coords.</p>

File diff suppressed because one or more lines are too long

View File

@ -4,20 +4,20 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">TileRepository</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.tree">tree</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.is_layers_missing">is_layers_missing</a></li><li><a href="#method.iter_tessellated_layers_at">iter_tessellated_layers_at</a></li><li><a href="#method.new">new</a></li><li><a href="#method.put_tessellated_layer">put_tessellated_layer</a></li><li><a href="#method.retain_missing_layer_names">retain_missing_layer_names</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Default">Default</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::io::tile_repository</a></h2><div id="sidebar-vars" data-name="TileRepository" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_repository</a>::<wbr><a class="struct" href="#">TileRepository</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#55-57">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct TileRepository {
<h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a href="index.html">tile_repository</a>::<wbr><a class="struct" href="#">TileRepository</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#59-61">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct TileRepository {
tree: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../../coords/struct.Quadkey.html" title="struct maplibre::coords::Quadkey">Quadkey</a>, <a class="struct" href="struct.StoredTile.html" title="struct maplibre::io::tile_repository::StoredTile">StoredTile</a>&gt;,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Stores and provides access to a quad tree of cached tiles with world tile coords.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.tree" class="structfield small-section-header"><a href="#structfield.tree" class="anchor field"></a><code>tree: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../../coords/struct.Quadkey.html" title="struct maplibre::coords::Quadkey">Quadkey</a>, <a class="struct" href="struct.StoredTile.html" title="struct maplibre::io::tile_repository::StoredTile">StoredTile</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#59-137">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#60-64">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>() -&gt; Self</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.put_tessellated_layer" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#71-86">source</a></span><a href="#method.put_tessellated_layer" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.put_tessellated_layer" class="fnname">put_tessellated_layer</a>(&amp;mut self, layer: <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>)</h4></section></summary><div class="docblock"><p>Inserts a tessellated layer into the quad tree at its world tile coords.
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.tree" class="structfield small-section-header"><a href="#structfield.tree" class="anchor field"></a><code>tree: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../../coords/struct.Quadkey.html" title="struct maplibre::coords::Quadkey">Quadkey</a>, <a class="struct" href="struct.StoredTile.html" title="struct maplibre::io::tile_repository::StoredTile">StoredTile</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#63-141">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#64-68">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>() -&gt; Self</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.put_tessellated_layer" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#75-90">source</a></span><a href="#method.put_tessellated_layer" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.put_tessellated_layer" class="fnname">put_tessellated_layer</a>(&amp;mut self, layer: <a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>)</h4></section></summary><div class="docblock"><p>Inserts a tessellated layer into the quad tree at its world tile coords.
If the space is vacant, the tessellated layer is inserted into a new
[crate::io::tile_repository::CachedTile].
If the space is occupied, the tessellated layer is added to the current
[crate::io::tile_repository::CachedTile].</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_tessellated_layers_at" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#90-98">source</a></span><a href="#method.iter_tessellated_layers_at" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_tessellated_layers_at" class="fnname">iter_tessellated_layers_at</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;<a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>&gt; + '_&gt;</h4></section></summary><div class="docblock"><p>Returns the list of tessellated layers at the given world tile coords. None if tile is
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_tessellated_layers_at" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#94-102">source</a></span><a href="#method.iter_tessellated_layers_at" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_tessellated_layers_at" class="fnname">iter_tessellated_layers_at</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;<a class="enum" href="enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>&gt; + '_&gt;</h4></section></summary><div class="docblock"><p>Returns the list of tessellated layers at the given world tile coords. None if tile is
missing from the cache.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.retain_missing_layer_names" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#102-116">source</a></span><a href="#method.retain_missing_layer_names" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.retain_missing_layer_names" class="fnname">retain_missing_layer_names</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;layers: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;<br>)</h4></section></summary><div class="docblock"><p>Removes all the cached tessellate layers that are not contained within the given
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.retain_missing_layer_names" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#106-120">source</a></span><a href="#method.retain_missing_layer_names" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.retain_missing_layer_names" class="fnname">retain_missing_layer_names</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;layers: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;<br>)</h4></section></summary><div class="docblock"><p>Removes all the cached tessellate layers that are not contained within the given
layers hashset.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_layers_missing" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#119-136">source</a></span><a href="#method.is_layers_missing" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_layers_missing" class="fnname">is_layers_missing</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;layers: &amp;<a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks if a layer is missing from the given layers set at the given coords.</p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#54">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#54">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is_layers_missing" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#123-140">source</a></span><a href="#method.is_layers_missing" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.is_layers_missing" class="fnname">is_layers_missing</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;coords: &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;layers: &amp;<a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks if a layer is missing from the given layers set at the given coords.</p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#58">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/maplibre/io/tile_repository.rs.html#58">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TileRepository.html" title="struct maplibre::io::tile_repository::TileRepository">TileRepository</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module tile_request_state</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li></ul></div></section><div id="sidebar-vars" data-name="tile_request_state" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_request_state</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_request_state.rs.html#1-50">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tile request state.</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">io</a>::<wbr><a class="mod" href="#">tile_request_state</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/io/tile_request_state.rs.html#1-53">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Tile request state.</p>
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.TileRequestState.html" title="maplibre::io::tile_request_state::TileRequestState struct">TileRequestState</a></div><div class="item-right docblock-short"><p>Stores a map of pending requests, coords and the current tile being requested.</p>
</div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,6 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module http_client</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li></ul></div></section><div id="sidebar-vars" data-name="http_client" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">platform</a>::<wbr><a href="../index.html">noweb</a>::<wbr><a class="mod" href="#">http_client</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/platform/noweb/http_client.rs.html#1-59">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">platform</a>::<wbr><a href="../index.html">noweb</a>::<wbr><a class="mod" href="#">http_client</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/platform/noweb/http_client.rs.html#1-58">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ReqwestHttpClient.html" title="maplibre::platform::noweb::http_client::ReqwestHttpClient struct">ReqwestHttpClient</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::camera</a></h2><div id="sidebar-vars" data-name="FLIP_Y" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">camera</a>::<wbr><a class="constant" href="#">FLIP_Y</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/camera.rs.html#18-23">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const FLIP_Y: Matrix4&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">camera</a>::<wbr><a class="constant" href="#">FLIP_Y</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/camera.rs.html#19-24">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const FLIP_Y: Matrix4&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::camera</a></h2><div id="sidebar-vars" data-name="OPENGL_TO_WGPU_MATRIX" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">camera</a>::<wbr><a class="constant" href="#">OPENGL_TO_WGPU_MATRIX</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/camera.rs.html#10-15">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const OPENGL_TO_WGPU_MATRIX: Matrix4&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">camera</a>::<wbr><a class="constant" href="#">OPENGL_TO_WGPU_MATRIX</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/camera.rs.html#11-16">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const OPENGL_TO_WGPU_MATRIX: Matrix4&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.f64.html">f64</a>&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render</a></h2><div id="sidebar-vars" data-name="INDEX_FORMAT" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="constant" href="#">INDEX_FORMAT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/render/mod.rs.html#57">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const INDEX_FORMAT: IndexFormat;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="constant" href="#">INDEX_FORMAT</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/render/mod.rs.html#64">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const INDEX_FORMAT: IndexFormat;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::draw_graph</a></h2><div id="sidebar-vars" data-name="NAME" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">draw_graph</a>::<wbr><a class="constant" href="#">NAME</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/mod.rs.html#490">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const NAME: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = &quot;draw&quot;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">draw_graph</a>::<wbr><a class="constant" href="#">NAME</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/mod.rs.html#498">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const NAME: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = &quot;draw&quot;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module draw_graph</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#constants">Constants</a></li></ul></div></section><div id="sidebar-vars" data-name="draw_graph" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">draw_graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/mod.rs.html#489-499">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Labels for the “draw” graph</p>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">draw_graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/mod.rs.html#497-507">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Labels for the “draw” graph</p>
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="input/index.html" title="maplibre::render::draw_graph::input mod">input</a></div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="node/index.html" title="maplibre::render::draw_graph::node mod">node</a></div><div class="item-right docblock-short"></div></div></div><h2 id="constants" class="small-section-header"><a href="#constants">Constants</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.NAME.html" title="maplibre::render::draw_graph::NAME constant">NAME</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module input</a></h2><div class="sidebar-elems"><div id="sidebar-vars" data-name="input" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#492">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#500">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::draw_graph::node</a></h2><div id="sidebar-vars" data-name="MAIN_PASS" data-ty="constant" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="constant" href="#">MAIN_PASS</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#495">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const MAIN_PASS: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = &quot;main_pass&quot;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Constant <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="constant" href="#">MAIN_PASS</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#503">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust const"><code>pub const MAIN_PASS: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = &quot;main_pass&quot;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

View File

@ -4,6 +4,6 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module node</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#constants">Constants</a></li></ul></div></section><div id="sidebar-vars" data-name="node" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">node</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#494-498">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="constants" class="small-section-header"><a href="#constants">Constants</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">node</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/mod.rs.html#502-506">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="constants" class="small-section-header"><a href="#constants">Constants</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="constant" href="constant.MAIN_PASS.html" title="maplibre::render::draw_graph::node::MAIN_PASS constant">MAIN_PASS</a></div><div class="item-right docblock-short"></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

File diff suppressed because one or more lines are too long

View File

@ -4,5 +4,5 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div>
</a><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render</a></h2><div id="sidebar-vars" data-name="create_default_render_graph" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="fn" href="#">create_default_render_graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/render/mod.rs.html#501-518">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn create_default_render_graph() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="graph/graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>, <a class="enum" href="graph/enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
<h1 class="fqn"><span class="in-band">Function <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="fn" href="#">create_default_render_graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/maplibre/render/mod.rs.html#509-526">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust fn"><code>pub fn create_default_render_graph() -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="graph/graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>, <a class="enum" href="graph/enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.62.0 (a8314ef7d 2022-06-27)" ></div>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module context</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div></section><div id="sidebar-vars" data-name="context" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#1-238">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#1-240">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.RenderGraphContext.html" title="maplibre::render::graph::context::RenderGraphContext struct">RenderGraphContext</a></div><div class="item-right docblock-short"><p>The context with all graph information required to run a <a href="../node/trait.Node.html"><code>Node</code></a>.
This context is created for each node by the <code>RenderGraphRunner</code>.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.RunSubGraph.html" title="maplibre::render::graph::context::RunSubGraph struct">RunSubGraph</a></div><div class="item-right docblock-short"><p>A command that signals the graph runner to run the sub graph corresponding to the <code>name</code>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">RenderGraphContext</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.graph">graph</a></li><li><a href="#structfield.inputs">inputs</a></li><li><a href="#structfield.node">node</a></li><li><a href="#structfield.outputs">outputs</a></li><li><a href="#structfield.run_sub_graphs">run_sub_graphs</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.finish">finish</a></li><li><a href="#method.get_input">get_input</a></li><li><a href="#method.get_input_buffer">get_input_buffer</a></li><li><a href="#method.get_input_sampler">get_input_sampler</a></li><li><a href="#method.get_input_texture">get_input_texture</a></li><li><a href="#method.input_info">input_info</a></li><li><a href="#method.inputs">inputs</a></li><li><a href="#method.new">new</a></li><li><a href="#method.output_info">output_info</a></li><li><a href="#method.run_sub_graph">run_sub_graph</a></li><li><a href="#method.set_output">set_output</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Send">!Send</a></li><li><a href="#impl-Sync">!Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::context</a></h2><div id="sidebar-vars" data-name="RenderGraphContext" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">RenderGraphContext</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#21-27">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RenderGraphContext&lt;'a&gt; {
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">RenderGraphContext</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#23-29">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RenderGraphContext&lt;'a&gt; {
graph: &amp;'a <a class="struct" href="../graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>,
node: &amp;'a <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>,
inputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a [</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a>,
@ -16,17 +16,17 @@ This context is created for each node by the <code>RenderGraphRunner</code>.</p>
passing them onto the next node.</p>
<p>Sub graphs can be queued for running by adding a <a href="struct.RunSubGraph.html" title="RunSubGraph"><code>RunSubGraph</code></a> command to the context.
After the node has finished running the graph runner is responsible for executing the sub graphs.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.graph" class="structfield small-section-header"><a href="#structfield.graph" class="anchor field"></a><code>graph: &amp;'a <a class="struct" href="../graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></code></span><span id="structfield.node" class="structfield small-section-header"><a href="#structfield.node" class="anchor field"></a><code>node: &amp;'a <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a></code></span><span id="structfield.inputs" class="structfield small-section-header"><a href="#structfield.inputs" class="anchor field"></a><code>inputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a [</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></code></span><span id="structfield.outputs" class="structfield small-section-header"><a href="#structfield.outputs" class="anchor field"></a><code>outputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a mut [</a><a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></code></span><span id="structfield.run_sub_graphs" class="structfield small-section-header"><a href="#structfield.run_sub_graphs" class="anchor field"></a><code>run_sub_graphs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.RunSubGraph.html" title="struct maplibre::render::graph::context::RunSubGraph">RunSubGraph</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#29-192">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#31-44">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;graph: &amp;'a <a class="struct" href="../graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;node: &amp;'a <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;inputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a [</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;outputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a mut [</a><a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a><br>) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new render graph context for the <code>node</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.inputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#48-50">source</a></span><a href="#method.inputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.inputs" class="fnname">inputs</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns the input slot values for the node.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_info" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#53-55">source</a></span><a href="#method.input_info" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_info" class="fnname">input_info</a>(&amp;self) -&gt; &amp;<a class="struct" href="../node_slot/struct.SlotInfos.html" title="struct maplibre::render::graph::node_slot::SlotInfos">SlotInfos</a></h4></section></summary><div class="docblock"><p>Returns the <a href="../node_slot/struct.SlotInfos.html" title="SlotInfos"><code>SlotInfos</code></a> of the inputs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output_info" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#58-60">source</a></span><a href="#method.output_info" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.output_info" class="fnname">output_info</a>(&amp;self) -&gt; &amp;<a class="struct" href="../node_slot/struct.SlotInfos.html" title="struct maplibre::render::graph::node_slot::SlotInfos">SlotInfos</a></h4></section></summary><div class="docblock"><p>Returns the <a href="../node_slot/struct.SlotInfos.html" title="SlotInfos"><code>SlotInfos</code></a> of the outputs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#63-70">source</a></span><a href="#method.get_input" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input" class="fnname">get_input</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_texture" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#73-86">source</a></span><a href="#method.get_input_texture" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_texture" class="fnname">get_input_texture</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../../resource/texture/enum.TextureView.html" title="enum maplibre::render::resource::texture::TextureView">TextureView</a>, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a <a href="../../resource/texture/enum.TextureView.html" title="TextureView"><code>TextureView</code></a>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_sampler" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#89-102">source</a></span><a href="#method.get_input_sampler" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_sampler" class="fnname">get_input_sampler</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;Sampler, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a [<code>Sampler</code>].</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_buffer" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#105-118">source</a></span><a href="#method.get_input_buffer" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_buffer" class="fnname">get_input_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;Buffer, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a [<code>Buffer</code>].</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.set_output" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#121-145">source</a></span><a href="#method.set_output" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_output" class="fnname">set_output</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.OutputSlotError.html" title="enum maplibre::render::graph::context::OutputSlotError">OutputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Sets the output slot value referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#148-185">source</a></span><a href="#method.run_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.run_sub_graph" class="fnname">run_sub_graph</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.RunSubGraphError.html" title="enum maplibre::render::graph::context::RunSubGraphError">RunSubGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Queues up a sub graph for execution after the node has finished running.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.finish" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#189-191">source</a></span><a href="#method.finish" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.finish" class="fnname">finish</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.RunSubGraph.html" title="struct maplibre::render::graph::context::RunSubGraph">RunSubGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Finishes the context for this <a href="../node/trait.Node.html"><code>Node</code></a> by
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.graph" class="structfield small-section-header"><a href="#structfield.graph" class="anchor field"></a><code>graph: &amp;'a <a class="struct" href="../graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></code></span><span id="structfield.node" class="structfield small-section-header"><a href="#structfield.node" class="anchor field"></a><code>node: &amp;'a <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a></code></span><span id="structfield.inputs" class="structfield small-section-header"><a href="#structfield.inputs" class="anchor field"></a><code>inputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a [</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></code></span><span id="structfield.outputs" class="structfield small-section-header"><a href="#structfield.outputs" class="anchor field"></a><code>outputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a mut [</a><a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></code></span><span id="structfield.run_sub_graphs" class="structfield small-section-header"><a href="#structfield.run_sub_graphs" class="anchor field"></a><code>run_sub_graphs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.RunSubGraph.html" title="struct maplibre::render::graph::context::RunSubGraph">RunSubGraph</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#31-194">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#33-46">source</a></span><a href="#method.new" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.new" class="fnname">new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;graph: &amp;'a <a class="struct" href="../graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;node: &amp;'a <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;inputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a [</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;outputs: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;'a mut [</a><a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a><br>) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new render graph context for the <code>node</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.inputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#50-52">source</a></span><a href="#method.inputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.inputs" class="fnname">inputs</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns the input slot values for the node.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_info" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#55-57">source</a></span><a href="#method.input_info" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_info" class="fnname">input_info</a>(&amp;self) -&gt; &amp;<a class="struct" href="../node_slot/struct.SlotInfos.html" title="struct maplibre::render::graph::node_slot::SlotInfos">SlotInfos</a></h4></section></summary><div class="docblock"><p>Returns the <a href="../node_slot/struct.SlotInfos.html" title="SlotInfos"><code>SlotInfos</code></a> of the inputs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output_info" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#60-62">source</a></span><a href="#method.output_info" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.output_info" class="fnname">output_info</a>(&amp;self) -&gt; &amp;<a class="struct" href="../node_slot/struct.SlotInfos.html" title="struct maplibre::render::graph::node_slot::SlotInfos">SlotInfos</a></h4></section></summary><div class="docblock"><p>Returns the <a href="../node_slot/struct.SlotInfos.html" title="SlotInfos"><code>SlotInfos</code></a> of the outputs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#65-72">source</a></span><a href="#method.get_input" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input" class="fnname">get_input</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_texture" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#75-88">source</a></span><a href="#method.get_input_texture" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_texture" class="fnname">get_input_texture</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../../resource/texture/enum.TextureView.html" title="enum maplibre::render::resource::texture::TextureView">TextureView</a>, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a <a href="../../resource/texture/enum.TextureView.html" title="TextureView"><code>TextureView</code></a>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_sampler" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#91-104">source</a></span><a href="#method.get_input_sampler" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_sampler" class="fnname">get_input_sampler</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;Sampler, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a [<code>Sampler</code>].</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_buffer" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#107-120">source</a></span><a href="#method.get_input_buffer" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_buffer" class="fnname">get_input_buffer</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;Buffer, <a class="enum" href="enum.InputSlotError.html" title="enum maplibre::render::graph::context::InputSlotError">InputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the input slot value referenced by the <code>label</code> as a [<code>Buffer</code>].</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.set_output" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#123-147">source</a></span><a href="#method.set_output" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_output" class="fnname">set_output</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.OutputSlotError.html" title="enum maplibre::render::graph::context::OutputSlotError">OutputSlotError</a>&gt;</h4></section></summary><div class="docblock"><p>Sets the output slot value referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#150-187">source</a></span><a href="#method.run_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.run_sub_graph" class="fnname">run_sub_graph</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.RunSubGraphError.html" title="enum maplibre::render::graph::context::RunSubGraphError">RunSubGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Queues up a sub graph for execution after the node has finished running.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.finish" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#191-193">source</a></span><a href="#method.finish" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.finish" class="fnname">finish</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.RunSubGraph.html" title="struct maplibre::render::graph::context::RunSubGraph">RunSubGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Finishes the context for this <a href="../node/trait.Node.html"><code>Node</code></a> by
returning the sub graphs to run next.</p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl&lt;'a&gt; !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'a&gt;</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">RunSubGraph</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.inputs">inputs</a></li><li><a href="#structfield.name">name</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Send">!Send</a></li><li><a href="#impl-Sync">!Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::context</a></h2><div id="sidebar-vars" data-name="RunSubGraph" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">RunSubGraph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#8-11">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RunSubGraph {
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">context</a>::<wbr><a class="struct" href="#">RunSubGraph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/context.rs.html#10-13">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RunSubGraph {
pub name: <a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;,
pub inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../node_slot/enum.SlotValue.html" title="enum maplibre::render::graph::node_slot::SlotValue">SlotValue</a>&gt;,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A command that signals the graph runner to run the sub graph corresponding to the <code>name</code>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,18 +4,18 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">GraphInputNode</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.inputs">inputs</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Node">Node</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::graph</a></h2><div id="sidebar-vars" data-name="GraphInputNode" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">graph</a>::<wbr><a class="struct" href="#">GraphInputNode</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#545-547">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct GraphInputNode {
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">graph</a>::<wbr><a class="struct" href="#">GraphInputNode</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#542-544">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct GraphInputNode {
inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <a href="../node/trait.Node.html" title="Node"><code>Node</code></a> which acts as an entry point for a <a href="struct.RenderGraph.html" title="RenderGraph"><code>RenderGraph</code></a> with custom inputs.
It has the same input and output slots and simply copies them over when run.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.inputs" class="structfield small-section-header"><a href="#structfield.inputs" class="anchor field"></a><code>inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Node" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#549-570">source</a></span><a href="#impl-Node" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#550-552">source</a></span><a href="#method.input" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.input" class="fnname">input</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the required input slots for this node.
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.inputs" class="structfield small-section-header"><a href="#structfield.inputs" class="anchor field"></a><code>inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Node" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#546-567">source</a></span><a href="#impl-Node" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#547-549">source</a></span><a href="#method.input" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.input" class="fnname">input</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the required input slots for this node.
They will then be available during the run method inside the <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a>. <a href="../node/trait.Node.html#method.input">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#554-556">source</a></span><a href="#method.output" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.output" class="fnname">output</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the produced output slots for this node.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#551-553">source</a></span><a href="#method.output" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.output" class="fnname">output</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the produced output slots for this node.
They can then be passed one inside <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a> during the run method. <a href="../node/trait.Node.html#method.output">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#558-569">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#tymethod.run" class="fnname">run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;graph: &amp;mut <a class="struct" href="../context/struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_render_context: &amp;mut <a class="struct" href="../node/struct.RenderContext.html" title="struct maplibre::render::graph::node::RenderContext">RenderContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_state: &amp;<a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../node/enum.NodeRunError.html" title="enum maplibre::render::graph::node::NodeRunError">NodeRunError</a>&gt;</h4></section></summary><div class='docblock'><p>Runs the graph node logic, issues draw calls, updates the output slots and
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#555-566">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#tymethod.run" class="fnname">run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;graph: &amp;mut <a class="struct" href="../context/struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_render_context: &amp;mut <a class="struct" href="../node/struct.RenderContext.html" title="struct maplibre::render::graph::node::RenderContext">RenderContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_state: &amp;<a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../node/enum.NodeRunError.html" title="enum maplibre::render::graph::node::NodeRunError">NodeRunError</a>&gt;</h4></section></summary><div class='docblock'><p>Runs the graph node logic, issues draw calls, updates the output slots and
optionally queues up subgraphs for execution. The graph data, input and output values are
passed via the <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a>. <a href="../node/trait.Node.html#tymethod.run">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#59">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.update" class="fnname">update</a>(&amp;mut self, _state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class='docblock'><p>Updates internal node state using the current <a href="../../struct.RenderState.html" title="RenderState"><code>RenderState</code></a> prior to the run method.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#61">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">fn <a href="../node/trait.Node.html#method.update" class="fnname">update</a>(&amp;mut self, _state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class='docblock'><p>Updates internal node state using the current <a href="../../struct.RenderState.html" title="RenderState"><code>RenderState</code></a> prior to the run method.</p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.GraphInputNode.html" title="struct maplibre::render::graph::graph::GraphInputNode">GraphInputNode</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">RenderGraph</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.current_id">current_id</a></li><li><a href="#structfield.input_node">input_node</a></li><li><a href="#structfield.node_names">node_names</a></li><li><a href="#structfield.nodes">nodes</a></li><li><a href="#structfield.sub_graphs">sub_graphs</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Associated Constants</a></h3><ul><li><a href="#associatedconstant.INPUT_NODE_NAME">INPUT_NODE_NAME</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.add_node">add_node</a></li><li><a href="#method.add_node_edge">add_node_edge</a></li><li><a href="#method.add_slot_edge">add_slot_edge</a></li><li><a href="#method.add_sub_graph">add_sub_graph</a></li><li><a href="#method.get_node">get_node</a></li><li><a href="#method.get_node_id">get_node_id</a></li><li><a href="#method.get_node_mut">get_node_mut</a></li><li><a href="#method.get_node_state">get_node_state</a></li><li><a href="#method.get_node_state_mut">get_node_state_mut</a></li><li><a href="#method.get_sub_graph">get_sub_graph</a></li><li><a href="#method.get_sub_graph_mut">get_sub_graph_mut</a></li><li><a href="#method.has_edge">has_edge</a></li><li><a href="#method.input_node">input_node</a></li><li><a href="#method.iter_node_inputs">iter_node_inputs</a></li><li><a href="#method.iter_node_outputs">iter_node_outputs</a></li><li><a href="#method.iter_nodes">iter_nodes</a></li><li><a href="#method.iter_nodes_mut">iter_nodes_mut</a></li><li><a href="#method.iter_sub_graphs">iter_sub_graphs</a></li><li><a href="#method.iter_sub_graphs_mut">iter_sub_graphs_mut</a></li><li><a href="#method.remove_node">remove_node</a></li><li><a href="#method.remove_node_edge">remove_node_edge</a></li><li><a href="#method.remove_slot_edge">remove_slot_edge</a></li><li><a href="#method.remove_sub_graph">remove_sub_graph</a></li><li><a href="#method.set_input">set_input</a></li><li><a href="#method.update">update</a></li><li><a href="#method.validate_edge">validate_edge</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-Default">Default</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">!UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::graph</a></h2><div id="sidebar-vars" data-name="RenderGraph" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">graph</a>::<wbr><a class="struct" href="#">RenderGraph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#48-55">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RenderGraph {
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">graph</a>::<wbr><a class="struct" href="#">RenderGraph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#45-52">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct RenderGraph {
nodes: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>, <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;,
node_names: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>&gt;,
sub_graphs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;,
@ -28,46 +28,46 @@ corresponding nodes. Every render graph can have its own optional input node.
<span class="ident">graph</span>.<span class="ident">add_node</span>(<span class="string">&quot;input_node&quot;</span>, <span class="ident">MyNode</span>);
<span class="ident">graph</span>.<span class="ident">add_node</span>(<span class="string">&quot;output_node&quot;</span>, <span class="ident">MyNode</span>);
<span class="ident">graph</span>.<span class="ident">add_node_edge</span>(<span class="string">&quot;output_node&quot;</span>, <span class="string">&quot;input_node&quot;</span>).<span class="ident">unwrap</span>();</code></pre></div>
</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="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>, <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</code></span><span id="structfield.node_names" class="structfield small-section-header"><a href="#structfield.node_names" class="anchor field"></a><code>node_names: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>&gt;</code></span><span id="structfield.sub_graphs" class="structfield small-section-header"><a href="#structfield.sub_graphs" class="anchor field"></a><code>sub_graphs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</code></span><span id="structfield.input_node" class="structfield small-section-header"><a href="#structfield.input_node" class="anchor field"></a><code>input_node: <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>&gt;</code></span><span id="structfield.current_id" class="structfield small-section-header"><a href="#structfield.current_id" class="anchor field"></a><code>current_id: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#57-529">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedconstant.INPUT_NODE_NAME" class="associatedconstant has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#59">source</a></span><a href="#associatedconstant.INPUT_NODE_NAME" class="anchor"></a><h4 class="code-header">pub const <a href="#associatedconstant.INPUT_NODE_NAME" class="constant">INPUT_NODE_NAME</a>: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = "GraphInputNode"</h4></section></summary><div class="docblock"><p>The name of the <a href="struct.GraphInputNode.html" title="GraphInputNode"><code>GraphInputNode</code></a> of this graph. Used to connect other nodes to it.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#62-70">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.update" class="fnname">update</a>(&amp;mut self, state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class="docblock"><p>Updates all nodes and sub graphs of the render graph. Should be called before executing it.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.set_input" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#73-79">source</a></span><a href="#method.set_input" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_input" class="fnname">set_input</a>(&amp;mut self, inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;) -&gt; <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>Creates an <a href="struct.GraphInputNode.html" title="GraphInputNode"><code>GraphInputNode</code></a> with the specified slots if not already present.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#83-85">source</a></span><a href="#method.input_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_node" class="fnname">input_node</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> of the input node of this graph..</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#89-101">source</a></span><a href="#method.add_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_node" class="fnname">add_node</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;node: T<br>) -&gt; <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Adds the <code>node</code> with the <code>name</code> to the graph.
</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="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>, <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</code></span><span id="structfield.node_names" class="structfield small-section-header"><a href="#structfield.node_names" class="anchor field"></a><code>node_names: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>&gt;</code></span><span id="structfield.sub_graphs" class="structfield small-section-header"><a href="#structfield.sub_graphs" class="anchor field"></a><code>sub_graphs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;, <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</code></span><span id="structfield.input_node" class="structfield small-section-header"><a href="#structfield.input_node" class="anchor field"></a><code>input_node: <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>&gt;</code></span><span id="structfield.current_id" class="structfield small-section-header"><a href="#structfield.current_id" class="anchor field"></a><code>current_id: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#54-526">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedconstant.INPUT_NODE_NAME" class="associatedconstant has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#56">source</a></span><a href="#associatedconstant.INPUT_NODE_NAME" class="anchor"></a><h4 class="code-header">pub const <a href="#associatedconstant.INPUT_NODE_NAME" class="constant">INPUT_NODE_NAME</a>: &amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a> = "GraphInputNode"</h4></section></summary><div class="docblock"><p>The name of the <a href="struct.GraphInputNode.html" title="GraphInputNode"><code>GraphInputNode</code></a> of this graph. Used to connect other nodes to it.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#59-67">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.update" class="fnname">update</a>(&amp;mut self, state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class="docblock"><p>Updates all nodes and sub graphs of the render graph. Should be called before executing it.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.set_input" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#70-76">source</a></span><a href="#method.set_input" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.set_input" class="fnname">set_input</a>(&amp;mut self, inputs: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;) -&gt; <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>Creates an <a href="struct.GraphInputNode.html" title="GraphInputNode"><code>GraphInputNode</code></a> with the specified slots if not already present.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#80-82">source</a></span><a href="#method.input_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_node" class="fnname">input_node</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> of the input node of this graph..</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#86-98">source</a></span><a href="#method.add_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_node" class="fnname">add_node</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;node: T<br>) -&gt; <a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Adds the <code>node</code> with the <code>name</code> to the graph.
If the name is already present replaces it instead.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#105-164">source</a></span><a href="#method.remove_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_node" class="fnname">remove_node</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <code>node</code> with the <code>name</code> from the graph.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#102-161">source</a></span><a href="#method.remove_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_node" class="fnname">remove_node</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <code>node</code> with the <code>name</code> from the graph.
If the name is does not exist, nothing happens.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_state" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#167-176">source</a></span><a href="#method.get_node_state" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_state" class="fnname">get_node_state</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_state_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#179-188">source</a></span><a href="#method.get_node_state_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_state_mut" class="fnname">get_node_state_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;mut <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> referenced by the <code>label</code> mutably.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_id" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#191-201">source</a></span><a href="#method.get_node_id" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_id" class="fnname">get_node_id</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeId.html" title="NodeId"><code>NodeId</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#204-209">source</a></span><a href="#method.get_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node" class="fnname">get_node</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/trait.Node.html" title="Node"><code>Node</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#212-220">source</a></span><a href="#method.get_node_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_mut" class="fnname">get_node_mut</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/trait.Node.html" title="Node"><code>Node</code></a> referenced by the <code>label</code> mutably.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#224-264">source</a></span><a href="#method.add_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_slot_edge" class="fnname">add_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds the <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a> to the graph. This guarantees that the <code>output_node</code>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_state" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#164-173">source</a></span><a href="#method.get_node_state" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_state" class="fnname">get_node_state</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_state_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#176-185">source</a></span><a href="#method.get_node_state_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_state_mut" class="fnname">get_node_state_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;mut <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeState.html" title="NodeState"><code>NodeState</code></a> referenced by the <code>label</code> mutably.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_id" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#188-198">source</a></span><a href="#method.get_node_id" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_id" class="fnname">get_node_id</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../node/struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/struct.NodeId.html" title="NodeId"><code>NodeId</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#201-206">source</a></span><a href="#method.get_node" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node" class="fnname">get_node</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/trait.Node.html" title="Node"><code>Node</code></a> referenced by the <code>label</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_node_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#209-217">source</a></span><a href="#method.get_node_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_node_mut" class="fnname">get_node_mut</a>&lt;T&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../node/trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a>,&nbsp;</span></h4></section></summary><div class="docblock"><p>Retrieves the <a href="../node/trait.Node.html" title="Node"><code>Node</code></a> referenced by the <code>label</code> mutably.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#221-261">source</a></span><a href="#method.add_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_slot_edge" class="fnname">add_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds the <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a> to the graph. This guarantees that the <code>output_node</code>
is run before the <code>input_node</code> and also connects the <code>output_slot</code> to the <code>input_slot</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#268-308">source</a></span><a href="#method.remove_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_slot_edge" class="fnname">remove_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a> from the graph. If any nodes or slots do not exist then
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#265-305">source</a></span><a href="#method.remove_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_slot_edge" class="fnname">remove_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_slot: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node_slot/enum.SlotLabel.html" title="enum maplibre::render::graph::node_slot::SlotLabel">SlotLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a> from the graph. If any nodes or slots do not exist then
nothing happens.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_node_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#312-335">source</a></span><a href="#method.add_node_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_node_edge" class="fnname">add_node_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds the <a href="../edge/enum.Edge.html#variant.NodeEdge" title="Edge::NodeEdge"><code>Edge::NodeEdge</code></a> to the graph. This guarantees that the <code>output_node</code>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_node_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#309-332">source</a></span><a href="#method.add_node_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_node_edge" class="fnname">add_node_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds the <a href="../edge/enum.Edge.html#variant.NodeEdge" title="Edge::NodeEdge"><code>Edge::NodeEdge</code></a> to the graph. This guarantees that the <code>output_node</code>
is run before the <code>input_node</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_node_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#339-362">source</a></span><a href="#method.remove_node_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_node_edge" class="fnname">remove_node_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <a href="../edge/enum.Edge.html#variant.NodeEdge" title="Edge::NodeEdge"><code>Edge::NodeEdge</code></a> from the graph. If either node does not exist then nothing
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_node_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#336-359">source</a></span><a href="#method.remove_node_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_node_edge" class="fnname">remove_node_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;output_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;input_node: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes the <a href="../edge/enum.Edge.html#variant.NodeEdge" title="Edge::NodeEdge"><code>Edge::NodeEdge</code></a> from the graph. If either node does not exist then nothing
happens.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.validate_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#366-433">source</a></span><a href="#method.validate_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.validate_edge" class="fnname">validate_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;should_exist: <a class="enum" href="../edge/enum.EdgeExistence.html" title="enum maplibre::render::graph::edge::EdgeExistence">EdgeExistence</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Verifies that the edge existence is as expected and
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.validate_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#363-430">source</a></span><a href="#method.validate_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.validate_edge" class="fnname">validate_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;should_exist: <a class="enum" href="../edge/enum.EdgeExistence.html" title="enum maplibre::render::graph::edge::EdgeExistence">EdgeExistence</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Verifies that the edge existence is as expected and
checks that slot edges are connected correctly.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#436-450">source</a></span><a href="#method.has_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_edge" class="fnname">has_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the <code>edge</code> already exists in the graph.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_nodes" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#453-455">source</a></span><a href="#method.iter_nodes" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_nodes" class="fnname">iter_nodes</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the <a href="../node/struct.NodeState.html"><code>NodeStates</code></a>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_nodes_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#458-460">source</a></span><a href="#method.iter_nodes_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_nodes_mut" class="fnname">iter_nodes_mut</a>(&amp;mut self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;mut <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the <a href="../node/struct.NodeState.html"><code>NodeStates</code></a>, that allows modifying each value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_sub_graphs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#463-467">source</a></span><a href="#method.iter_sub_graphs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_sub_graphs" class="fnname">iter_sub_graphs</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>, &amp;<a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the sub graphs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_sub_graphs_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#470-474">source</a></span><a href="#method.iter_sub_graphs_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_sub_graphs_mut" class="fnname">iter_sub_graphs_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>, &amp;mut <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the sub graphs, that allows modifying each value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_node_inputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#478-491">source</a></span><a href="#method.iter_node_inputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_node_inputs" class="fnname">iter_node_inputs</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over a tuple of the input edges and the corresponding output nodes
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#433-447">source</a></span><a href="#method.has_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_edge" class="fnname">has_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the <code>edge</code> already exists in the graph.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_nodes" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#450-452">source</a></span><a href="#method.iter_nodes" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_nodes" class="fnname">iter_nodes</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the <a href="../node/struct.NodeState.html"><code>NodeStates</code></a>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_nodes_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#455-457">source</a></span><a href="#method.iter_nodes_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_nodes_mut" class="fnname">iter_nodes_mut</a>(&amp;mut self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = &amp;mut <a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the <a href="../node/struct.NodeState.html"><code>NodeStates</code></a>, that allows modifying each value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_sub_graphs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#460-464">source</a></span><a href="#method.iter_sub_graphs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_sub_graphs" class="fnname">iter_sub_graphs</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>, &amp;<a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the sub graphs.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_sub_graphs_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#467-471">source</a></span><a href="#method.iter_sub_graphs_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_sub_graphs_mut" class="fnname">iter_sub_graphs_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>, &amp;mut <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over the sub graphs, that allows modifying each value.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_node_inputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#475-488">source</a></span><a href="#method.iter_node_inputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_node_inputs" class="fnname">iter_node_inputs</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over a tuple of the input edges and the corresponding output nodes
for the node referenced by the label.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_node_outputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#495-506">source</a></span><a href="#method.iter_node_outputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_node_outputs" class="fnname">iter_node_outputs</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over a tuple of the output edges and the corresponding input nodes
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.iter_node_outputs" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#492-503">source</a></span><a href="#method.iter_node_outputs" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.iter_node_outputs" class="fnname">iter_node_outputs</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;label: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="../node/enum.NodeLabel.html" title="enum maplibre::render::graph::node::NodeLabel">NodeLabel</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">(</a>&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, &amp;<a class="struct" href="../node/struct.NodeState.html" title="struct maplibre::render::graph::node::NodeState">NodeState</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.tuple.html">)</a>&gt;, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Returns an iterator over a tuple of the output edges and the corresponding input nodes
for the node referenced by the label.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#510-512">source</a></span><a href="#method.add_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_sub_graph" class="fnname">add_sub_graph</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;sub_graph: <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><br>)</h4></section></summary><div class="docblock"><p>Adds the <code>sub_graph</code> with the <code>name</code> to the graph.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#507-509">source</a></span><a href="#method.add_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.add_sub_graph" class="fnname">add_sub_graph</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;sub_graph: <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a><br>)</h4></section></summary><div class="docblock"><p>Adds the <code>sub_graph</code> with the <code>name</code> to the graph.
If the name is already present replaces it instead.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#516-518">source</a></span><a href="#method.remove_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_sub_graph" class="fnname">remove_sub_graph</a>(&amp;mut self, name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;)</h4></section></summary><div class="docblock"><p>Removes the <code>sub_graph</code> with the <code>name</code> from the graph.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#513-515">source</a></span><a href="#method.remove_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.remove_sub_graph" class="fnname">remove_sub_graph</a>(&amp;mut self, name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.62.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;&gt;)</h4></section></summary><div class="docblock"><p>Removes the <code>sub_graph</code> with the <code>name</code> from the graph.
If the name does not exist then nothing happens.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#521-523">source</a></span><a href="#method.get_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_sub_graph" class="fnname">get_sub_graph</a>(&amp;self, name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the sub graph corresponding to the <code>name</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_sub_graph_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#526-528">source</a></span><a href="#method.get_sub_graph_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_sub_graph_mut" class="fnname">get_sub_graph_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the sub graph corresponding to the <code>name</code> mutably.</p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#531-541">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#532-540">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#47">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#47">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_sub_graph" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#518-520">source</a></span><a href="#method.get_sub_graph" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_sub_graph" class="fnname">get_sub_graph</a>(&amp;self, name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the sub graph corresponding to the <code>name</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_sub_graph_mut" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#523-525">source</a></span><a href="#method.get_sub_graph_mut" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_sub_graph_mut" class="fnname">get_sub_graph_mut</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;name: impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.str.html">str</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>&gt;</h4></section></summary><div class="docblock"><p>Retrieves the sub graph corresponding to the <code>name</code> mutably.</p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#528-538">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#529-537">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Default" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#44">source</a></span><a href="#impl-Default" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.default" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/graph.rs.html#44">source</a></span><a href="#method.default" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -&gt; <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h4></section></summary><div class='docblock'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.62.0/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl !<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module graph</a></h2><div class="sidebar-elems"><section><div class="block"><ul><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></ul></div></section><div id="sidebar-vars" data-name="graph" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/graph/mod.rs.html#1-46">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">graph</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/graph/mod.rs.html#1-45">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="context/index.html" title="maplibre::render::graph::context mod">context</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="edge/index.html" title="maplibre::render::graph::edge mod">edge</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="graph/index.html" title="maplibre::render::graph::graph mod">graph</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="node/index.html" title="maplibre::render::graph::node mod">node</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short"></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="node_slot/index.html" title="maplibre::render::graph::node_slot mod">node_slot</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short"></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Edges.html" title="maplibre::render::graph::Edges struct">Edges</a></div><div class="item-right docblock-short"><p>A collection of input and output <a href="edge/enum.Edge.html"><code>Edges</code></a> for a <a href="node/trait.Node.html" title="Node"><code>Node</code></a>.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.EmptyNode.html" title="maplibre::render::graph::EmptyNode struct">EmptyNode</a></div><div class="item-right docblock-short"><p>A <a href="node/trait.Node.html" title="Node"><code>Node</code></a> without any inputs, outputs and subgraphs, which does nothing when run.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Module node</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div></section><div id="sidebar-vars" data-name="node" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a class="mod" href="#">node</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#1-334">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<h1 class="fqn"><span class="in-band">Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a class="mod" href="#">node</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#1-336">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2>
<div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Edges.html" title="maplibre::render::graph::node::Edges struct">Edges</a></div><div class="item-right docblock-short"><p>A collection of input and output <a href="../edge/enum.Edge.html"><code>Edges</code></a> for a <a href="trait.Node.html" title="Node"><code>Node</code></a>.</p>
</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.EmptyNode.html" title="maplibre::render::graph::node::EmptyNode struct">EmptyNode</a></div><div class="item-right docblock-short"><p>A <a href="trait.Node.html" title="Node"><code>Node</code></a> without any inputs, outputs and subgraphs, which does nothing when run.
Used (as a label) to bundle multiple dependencies into one inside

View File

@ -4,25 +4,25 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">Edges</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#fields">Fields</a></h3><ul><li><a href="#structfield.id">id</a></li><li><a href="#structfield.input_edges">input_edges</a></li><li><a href="#structfield.output_edges">output_edges</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.add_input_edge">add_input_edge</a></li><li><a href="#method.add_output_edge">add_output_edge</a></li><li><a href="#method.get_input_slot_edge">get_input_slot_edge</a></li><li><a href="#method.get_output_slot_edge">get_output_slot_edge</a></li><li><a href="#method.has_input_edge">has_input_edge</a></li><li><a href="#method.has_output_edge">has_output_edge</a></li><li><a href="#method.id">id</a></li><li><a href="#method.input_edges">input_edges</a></li><li><a href="#method.output_edges">output_edges</a></li><li><a href="#method.remove_input_edge">remove_input_edge</a></li><li><a href="#method.remove_output_edge">remove_output_edge</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Debug">Debug</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::node</a></h2><div id="sidebar-vars" data-name="Edges" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="struct" href="#">Edges</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#86-90">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Edges {
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="struct" href="#">Edges</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#88-92">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct Edges {
id: <a class="struct" href="struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a>,
input_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;,
output_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;,
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A collection of input and output <a href="../edge/enum.Edge.html"><code>Edges</code></a> for a <a href="trait.Node.html" title="Node"><code>Node</code></a>.</p>
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.id" class="structfield small-section-header"><a href="#structfield.id" class="anchor field"></a><code>id: <a class="struct" href="struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></code></span><span id="structfield.input_edges" class="structfield small-section-header"><a href="#structfield.input_edges" class="anchor field"></a><code>input_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;</code></span><span id="structfield.output_edges" class="structfield small-section-header"><a href="#structfield.output_edges" class="anchor field"></a><code>output_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#92-204">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_edges" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#95-97">source</a></span><a href="#method.input_edges" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_edges" class="fnname">input_edges</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns all “input edges” (edges going “in”) for this node .</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output_edges" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#101-103">source</a></span><a href="#method.output_edges" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.output_edges" class="fnname">output_edges</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns all “output edges” (edges going “out”) for this node .</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.id" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#107-109">source</a></span><a href="#method.id" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.id" class="fnname">id</a>(&amp;self) -&gt; <a class="struct" href="struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>Returns this nodes id.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#112-118">source</a></span><a href="#method.add_input_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.add_input_edge" class="fnname">add_input_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds an edge to the <code>input_edges</code> if it does not already exist.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#121-133">source</a></span><a href="#method.remove_input_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.remove_input_edge" class="fnname">remove_input_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes an edge from the <code>input_edges</code> if it exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#136-142">source</a></span><a href="#method.add_output_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.add_output_edge" class="fnname">add_output_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds an edge to the <code>output_edges</code> if it does not already exist.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#145-157">source</a></span><a href="#method.remove_output_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.remove_output_edge" class="fnname">remove_output_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes an edge from the <code>output_edges</code> if it exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#160-162">source</a></span><a href="#method.has_input_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_input_edge" class="fnname">has_input_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the input edge already exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#165-167">source</a></span><a href="#method.has_output_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_output_edge" class="fnname">has_output_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the output edge already exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#171-185">source</a></span><a href="#method.get_input_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_slot_edge" class="fnname">get_input_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Searches the <code>input_edges</code> for a <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a>,
</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.id" class="structfield small-section-header"><a href="#structfield.id" class="anchor field"></a><code>id: <a class="struct" href="struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></code></span><span id="structfield.input_edges" class="structfield small-section-header"><a href="#structfield.input_edges" class="anchor field"></a><code>input_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;</code></span><span id="structfield.output_edges" class="structfield small-section-header"><a href="#structfield.output_edges" class="anchor field"></a><code>output_edges: <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>&gt;</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#94-206">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input_edges" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#97-99">source</a></span><a href="#method.input_edges" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.input_edges" class="fnname">input_edges</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns all “input edges” (edges going “in”) for this node .</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output_edges" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#103-105">source</a></span><a href="#method.output_edges" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.output_edges" class="fnname">output_edges</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">&amp;[</a><a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.slice.html">]</a></h4></section></summary><div class="docblock"><p>Returns all “output edges” (edges going “out”) for this node .</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.id" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#109-111">source</a></span><a href="#method.id" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.id" class="fnname">id</a>(&amp;self) -&gt; <a class="struct" href="struct.NodeId.html" title="struct maplibre::render::graph::node::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>Returns this nodes id.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#114-120">source</a></span><a href="#method.add_input_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.add_input_edge" class="fnname">add_input_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds an edge to the <code>input_edges</code> if it does not already exist.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#123-135">source</a></span><a href="#method.remove_input_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.remove_input_edge" class="fnname">remove_input_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes an edge from the <code>input_edges</code> if it exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#138-144">source</a></span><a href="#method.add_output_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.add_output_edge" class="fnname">add_output_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Adds an edge to the <code>output_edges</code> if it does not already exist.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.remove_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#147-159">source</a></span><a href="#method.remove_output_edge" class="anchor"></a><h4 class="code-header">pub(crate) fn <a href="#method.remove_output_edge" class="fnname">remove_output_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;edge: <a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Removes an edge from the <code>output_edges</code> if it exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_input_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#162-164">source</a></span><a href="#method.has_input_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_input_edge" class="fnname">has_input_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the input edge already exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_output_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#167-169">source</a></span><a href="#method.has_output_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.has_output_edge" class="fnname">has_output_edge</a>(&amp;self, edge: &amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether the output edge already exists.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_input_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#173-187">source</a></span><a href="#method.get_input_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_input_slot_edge" class="fnname">get_input_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Searches the <code>input_edges</code> for a <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a>,
which <code>input_index</code> matches the <code>index</code>;</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_output_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#189-203">source</a></span><a href="#method.get_output_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_output_slot_edge" class="fnname">get_output_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Searches the <code>output_edges</code> for a <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a>,
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_output_slot_edge" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#191-205">source</a></span><a href="#method.get_output_slot_edge" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.get_output_slot_edge" class="fnname">get_output_slot_edge</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;index: <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.usize.html">usize</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&amp;<a class="enum" href="../edge/enum.Edge.html" title="enum maplibre::render::graph::edge::Edge">Edge</a>, <a class="enum" href="../enum.RenderGraphError.html" title="enum maplibre::render::graph::RenderGraphError">RenderGraphError</a>&gt;</h4></section></summary><div class="docblock"><p>Searches the <code>output_edges</code> for a <a href="../edge/enum.Edge.html#variant.SlotEdge" title="Edge::SlotEdge"><code>Edge::SlotEdge</code></a>,
which <code>output_index</code> matches the <code>index</code>;</p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#85">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#85">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details></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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#87">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#87">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.62.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.62.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Edges.html" title="struct maplibre::render::graph::node::Edges">Edges</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

View File

@ -4,17 +4,17 @@
</nav>
<nav class="sidebar"><a class="sidebar-logo" href="../../../../maplibre/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div>
</a><h2 class="location"><a href="#">EmptyNode</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-Node">Node</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-Downcast">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E">From&lt;T&gt;</a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a></li><li><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></li><li><a href="#impl-Upcast%3CT%3E">Upcast&lt;T&gt;</a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In maplibre::render::graph::node</a></h2><div id="sidebar-vars" data-name="EmptyNode" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="struct" href="#">EmptyNode</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#323">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct EmptyNode;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <a href="trait.Node.html" title="Node"><code>Node</code></a> without any inputs, outputs and subgraphs, which does nothing when run.
<h1 class="fqn"><span class="in-band">Struct <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">graph</a>::<wbr><a href="index.html">node</a>::<wbr><a class="struct" href="#">EmptyNode</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#325">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct EmptyNode;</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <a href="trait.Node.html" title="Node"><code>Node</code></a> without any inputs, outputs and subgraphs, which does nothing when run.
Used (as a label) to bundle multiple dependencies into one inside
the <a href="../graph/struct.RenderGraph.html"><code>RenderGraph</code></a>.</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Node" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#325-334">source</a></span><a href="#impl-Node" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#326-333">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#tymethod.run" class="fnname">run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_graph: &amp;mut <a class="struct" href="../context/struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_render_context: &amp;mut <a class="struct" href="struct.RenderContext.html" title="struct maplibre::render::graph::node::RenderContext">RenderContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_state: &amp;<a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.NodeRunError.html" title="enum maplibre::render::graph::node::NodeRunError">NodeRunError</a>&gt;</h4></section></summary><div class='docblock'><p>Runs the graph node logic, issues draw calls, updates the output slots and
</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="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Node" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#327-336">source</a></span><a href="#impl-Node" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Node.html" title="trait maplibre::render::graph::node::Node">Node</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.run" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#328-335">source</a></span><a href="#method.run" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#tymethod.run" class="fnname">run</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_graph: &amp;mut <a class="struct" href="../context/struct.RenderGraphContext.html" title="struct maplibre::render::graph::context::RenderGraphContext">RenderGraphContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_render_context: &amp;mut <a class="struct" href="struct.RenderContext.html" title="struct maplibre::render::graph::node::RenderContext">RenderContext</a>&lt;'_&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_state: &amp;<a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.62.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.NodeRunError.html" title="enum maplibre::render::graph::node::NodeRunError">NodeRunError</a>&gt;</h4></section></summary><div class='docblock'><p>Runs the graph node logic, issues draw calls, updates the output slots and
optionally queues up subgraphs for execution. The graph data, input and output values are
passed via the <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a>. <a href="trait.Node.html#tymethod.run">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#48-50">source</a></span><a href="#method.input" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.input" class="fnname">input</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the required input slots for this node.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.input" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#50-52">source</a></span><a href="#method.input" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.input" class="fnname">input</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the required input slots for this node.
They will then be available during the run method inside the <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a>. <a href="trait.Node.html#method.input">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#54-56">source</a></span><a href="#method.output" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.output" class="fnname">output</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the produced output slots for this node.
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.output" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#56-58">source</a></span><a href="#method.output" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.output" class="fnname">output</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../node_slot/struct.SlotInfo.html" title="struct maplibre::render::graph::node_slot::SlotInfo">SlotInfo</a>&gt;</h4></section></summary><div class='docblock'><p>Specifies the produced output slots for this node.
They can then be passed one inside <a href="../context/struct.RenderGraphContext.html" title="RenderGraphContext"><code>RenderGraphContext</code></a> during the run method. <a href="trait.Node.html#method.output">Read more</a></p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#59">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.update" class="fnname">update</a>(&amp;mut self, _state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class='docblock'><p>Updates internal node state using the current <a href="../../struct.RenderState.html" title="RenderState"><code>RenderState</code></a> prior to the run method.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.update" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../../src/maplibre/render/graph/node.rs.html#61">source</a></span><a href="#method.update" class="anchor"></a><h4 class="code-header">fn <a href="trait.Node.html#method.update" class="fnname">update</a>(&amp;mut self, _state: &amp;mut <a class="struct" href="../../struct.RenderState.html" title="struct maplibre::render::RenderState">RenderState</a>)</h4></section></summary><div class='docblock'><p>Updates internal node state using the current <a href="../../struct.RenderState.html" title="RenderState"><code>RenderState</code></a> prior to the run method.</p>
</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" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</a></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.EmptyNode.html" title="struct maplibre::render::graph::node::EmptyNode">EmptyNode</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="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#132-136">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/any.rs.html#133">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.62.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.62.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/1.62.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.62.0/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.62.0/std/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.62.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More