Deploying to gh-pages from @ maplibre/maplibre-rs@9496ef0e71 🚀

This commit is contained in:
maxammann 2022-12-11 20:22:53 +00:00
parent 9cfd09d23e
commit 9045522bfe
44 changed files with 169 additions and 113 deletions

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

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `build_vector_tile_pipeline` fn in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, build_vector_tile_pipeline"><title>build_vector_tile_pipeline in maplibre::io::tile_pipelines - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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#131-139">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.65.0 (897e37553 2022-11-02)" ></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `build_vector_tile_pipeline` fn in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, build_vector_tile_pipeline"><title>build_vector_tile_pipeline in maplibre::io::tile_pipelines - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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#135-143">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.65.0 (897e37553 2022-11-02)" ></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

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Tile cache."><meta name="keywords" content="rust, rustlang, rust-lang, tile_repository"><title>maplibre::io::tile_repository - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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-181">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>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Tile cache."><meta name="keywords" content="rust, rustlang, rust-lang, tile_repository"><title>maplibre::io::tile_repository - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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-182">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">Stores multiple <a href="enum.StoredLayer.html">StoredLayers</a>.</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">Stores and provides access to a quad tree of cached tiles with world tile coords.</div></div></div><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.StoredLayer.html" title="maplibre::io::tile_repository::StoredLayer enum">StoredLayer</a></div><div class="item-right docblock-short">A layer which is stored for future use.</div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.TileStatus.html" title="maplibre::io::tile_repository::TileStatus enum">TileStatus</a></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.65.0 (897e37553 2022-11-02)" ></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

View File

@ -1 +1 @@
window.SIDEBAR_ITEMS = {"struct":[["DefaultLayerIndexed",""],["DefaultLayerTesselated",""],["DefaultLayerUnavailable",""],["DefaultTileTessellated",""],["DefaultTransferables",""]],"trait":[["IndexedLayer",""],["TessellatedLayer",""],["TileTessellated",""],["Transferables",""],["UnavailableLayer",""]]};
window.SIDEBAR_ITEMS = {"struct":[["DefaultLayerIndexed",""],["DefaultLayerTesselated",""],["DefaultLayerUnavailable",""],["DefaultTileTessellated",""],["DefaultTransferables",""]],"trait":[["LayerIndexed",""],["LayerTessellated",""],["LayerUnavailable",""],["TileTessellated",""],["Transferables",""]]};

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

@ -0,0 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `LayerIndexed` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, LayerIndexed"><title>LayerIndexed in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">LayerIndexed</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.build_from">build_from</a></li><li><a href="#tymethod.coords">coords</a></li><li><a href="#tymethod.to_tile_index">to_tile_index</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">LayerIndexed</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/transferables.rs.html#44-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 trait"><code>pub trait LayerIndexed: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.build_from" class="fnname">build_from</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, index: <a class="enum" href="../geometry_index/enum.TileIndex.html" title="enum maplibre::io::geometry_index::TileIndex">TileIndex</a>) -&gt; Self<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.to_tile_index" class="fnname">to_tile_index</a>(self) -&gt; <a class="enum" href="../geometry_index/enum.TileIndex.html" title="enum maplibre::io::geometry_index::TileIndex">TileIndex</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.build_from" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#45-47">source</a><h4 class="code-header">fn <a href="#tymethod.build_from" class="fnname">build_from</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>, index: <a class="enum" href="../geometry_index/enum.TileIndex.html" title="enum maplibre::io::geometry_index::TileIndex">TileIndex</a>) -&gt; Self<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#49">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.to_tile_index" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#51">source</a><h4 class="code-header">fn <a href="#tymethod.to_tile_index" class="fnname">to_tile_index</a>(self) -&gt; <a class="enum" href="../geometry_index/enum.TileIndex.html" title="enum maplibre::io::geometry_index::TileIndex">TileIndex</a></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-LayerIndexed-for-DefaultLayerIndexed" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#137-149">source</a><a href="#impl-LayerIndexed-for-DefaultLayerIndexed" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.LayerIndexed.html" title="trait maplibre::io::transferables::LayerIndexed">LayerIndexed</a> for <a class="struct" href="struct.DefaultLayerIndexed.html" title="struct maplibre::io::transferables::DefaultLayerIndexed">DefaultLayerIndexed</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.LayerIndexed.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -0,0 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `LayerTessellated` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, LayerTessellated"><title>LayerTessellated in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">LayerTessellated</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.build_from">build_from</a></li><li><a href="#tymethod.coords">coords</a></li><li><a href="#tymethod.to_stored_layer">to_stored_layer</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">LayerTessellated</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/transferables.rs.html#29-42">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 LayerTessellated: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.build_from" class="fnname">build_from</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::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="../../tessellation/type.IndexDataType.html" title="type maplibre::tessellation::IndexDataType">IndexDataType</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feature_indices: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.build_from" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#30-37">source</a><h4 class="code-header">fn <a href="#tymethod.build_from" class="fnname">build_from</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::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="../../tessellation/type.IndexDataType.html" title="type maplibre::tessellation::IndexDataType">IndexDataType</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;feature_indices: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>) -&gt; Self<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#39">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.to_stored_layer" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#41">source</a><h4 class="code-header">fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></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-LayerTessellated-for-DefaultLayerTesselated" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#103-130">source</a><a href="#impl-LayerTessellated-for-DefaultLayerTesselated" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.LayerTessellated.html" title="trait maplibre::io::transferables::LayerTessellated">LayerTessellated</a> for <a class="struct" href="struct.DefaultLayerTesselated.html" title="struct maplibre::io::transferables::DefaultLayerTesselated">DefaultLayerTesselated</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.LayerTessellated.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -0,0 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `LayerUnavailable` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, LayerUnavailable"><title>LayerUnavailable in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">LayerUnavailable</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.build_from">build_from</a></li><li><a href="#tymethod.coords">coords</a></li><li><a href="#tymethod.layer_name">layer_name</a></li><li><a href="#tymethod.to_stored_layer">to_stored_layer</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">LayerUnavailable</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/transferables.rs.html#18-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 trait"><code>pub trait LayerUnavailable: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.build_from" class="fnname">build_from</a>(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.65.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.layer_name" class="fnname">layer_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.str.html">str</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.build_from" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#19-21">source</a><h4 class="code-header">fn <a href="#tymethod.build_from" class="fnname">build_from</a>(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.65.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#23">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.layer_name" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#24">source</a><h4 class="code-header">fn <a href="#tymethod.layer_name" class="fnname">layer_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.str.html">str</a></h4></div><div id="tymethod.to_stored_layer" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#26">source</a><h4 class="code-header">fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></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-LayerUnavailable-for-DefaultLayerUnavailable" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#73-92">source</a><a href="#impl-LayerUnavailable-for-DefaultLayerUnavailable" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.LayerUnavailable.html" title="trait maplibre::io::transferables::LayerUnavailable">LayerUnavailable</a> for <a class="struct" href="struct.DefaultLayerUnavailable.html" title="struct maplibre::io::transferables::DefaultLayerUnavailable">DefaultLayerUnavailable</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.LayerUnavailable.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,5 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TessellatedLayer` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, TessellatedLayer"><title>TessellatedLayer in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">TessellatedLayer</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.coords">coords</a></li><li><a href="#tymethod.new">new</a></li><li><a href="#tymethod.to_stored_layer">to_stored_layer</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">TessellatedLayer</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/transferables.rs.html#24-35">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 TessellatedLayer: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.new" class="fnname">new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::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="../../tessellation/type.IndexDataType.html" title="type maplibre::tessellation::IndexDataType">IndexDataType</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;feature_indices: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; Self;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.new" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#25-30">source</a><h4 class="code-header">fn <a href="#tymethod.new" class="fnname">new</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::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="../../tessellation/type.IndexDataType.html" title="type maplibre::tessellation::IndexDataType">IndexDataType</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;feature_indices: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>) -&gt; Self</h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#32">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.to_stored_layer" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#34">source</a><h4 class="code-header">fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></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-TessellatedLayer-for-DefaultLayerTesselated" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#87-114">source</a><a href="#impl-TessellatedLayer-for-DefaultLayerTesselated" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.TessellatedLayer.html" title="trait maplibre::io::transferables::TessellatedLayer">TessellatedLayer</a> for <a class="struct" href="struct.DefaultLayerTesselated.html" title="struct maplibre::io::transferables::DefaultLayerTesselated">DefaultLayerTesselated</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.TessellatedLayer.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TileTessellated` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, TileTessellated"><title>TileTessellated in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">TileTessellated</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.coords">coords</a></li><li><a href="#tymethod.new">new</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">TileTessellated</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/transferables.rs.html#10-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 trait"><code>pub trait TileTessellated: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.new" class="fnname">new</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; Self;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.new" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#11">source</a><h4 class="code-header">fn <a href="#tymethod.new" class="fnname">new</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; Self</h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#13">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></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-TileTessellated-for-DefaultTileTessellated" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#47-55">source</a><a href="#impl-TileTessellated-for-DefaultTileTessellated" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.TileTessellated.html" title="trait maplibre::io::transferables::TileTessellated">TileTessellated</a> for <a class="struct" href="struct.DefaultTileTessellated.html" title="struct maplibre::io::transferables::DefaultTileTessellated">DefaultTileTessellated</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.TileTessellated.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TileTessellated` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, TileTessellated"><title>TileTessellated in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">TileTessellated</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.build_from">build_from</a></li><li><a href="#tymethod.coords">coords</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">TileTessellated</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/transferables.rs.html#10-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 trait"><code>pub trait TileTessellated: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.build_from" class="fnname">build_from</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; Self<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="where">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.build_from" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#11-13">source</a><h4 class="code-header">fn <a href="#tymethod.build_from" class="fnname">build_from</a>(coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>) -&gt; Self<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Self: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#15">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></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-TileTessellated-for-DefaultTileTessellated" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#58-66">source</a><a href="#impl-TileTessellated-for-DefaultTileTessellated" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.TileTessellated.html" title="trait maplibre::io::transferables::TileTessellated">TileTessellated</a> for <a class="struct" href="struct.DefaultTileTessellated.html" title="struct maplibre::io::transferables::DefaultTileTessellated">DefaultTileTessellated</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.TileTessellated.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,6 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Transferables` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, Transferables"><title>Transferables in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">Transferables</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#required-associated-types">Required Associated Types</a></h3><ul><li><a href="#associatedtype.LayerIndexed">LayerIndexed</a></li><li><a href="#associatedtype.LayerTessellated">LayerTessellated</a></li><li><a href="#associatedtype.LayerUnavailable">LayerUnavailable</a></li><li><a href="#associatedtype.TileTessellated">TileTessellated</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">Transferables</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/transferables.rs.html#137-142">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 Transferables: 'static {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Transferables` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, Transferables"><title>Transferables in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">Transferables</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#required-associated-types">Required Associated Types</a></h3><ul><li><a href="#associatedtype.LayerIndexed">LayerIndexed</a></li><li><a href="#associatedtype.LayerTessellated">LayerTessellated</a></li><li><a href="#associatedtype.LayerUnavailable">LayerUnavailable</a></li><li><a href="#associatedtype.TileTessellated">TileTessellated</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">Transferables</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/transferables.rs.html#151-156">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 Transferables: 'static {
type <a href="#associatedtype.TileTessellated" class="associatedtype">TileTessellated</a>: <a class="trait" href="trait.TileTessellated.html" title="trait maplibre::io::transferables::TileTessellated">TileTessellated</a>;
type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a>: <a class="trait" href="trait.UnavailableLayer.html" title="trait maplibre::io::transferables::UnavailableLayer">UnavailableLayer</a>;
type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a>: <a class="trait" href="trait.TessellatedLayer.html" title="trait maplibre::io::transferables::TessellatedLayer">TessellatedLayer</a>;
type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a>: <a class="trait" href="trait.IndexedLayer.html" title="trait maplibre::io::transferables::IndexedLayer">IndexedLayer</a>;
}</code></pre></div><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><div id="associatedtype.TileTessellated" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#138">source</a><h4 class="code-header">type <a href="#associatedtype.TileTessellated" class="associatedtype">TileTessellated</a>: <a class="trait" href="trait.TileTessellated.html" title="trait maplibre::io::transferables::TileTessellated">TileTessellated</a></h4></div><div id="associatedtype.LayerUnavailable" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#139">source</a><h4 class="code-header">type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a>: <a class="trait" href="trait.UnavailableLayer.html" title="trait maplibre::io::transferables::UnavailableLayer">UnavailableLayer</a></h4></div><div id="associatedtype.LayerTessellated" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#140">source</a><h4 class="code-header">type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a>: <a class="trait" href="trait.TessellatedLayer.html" title="trait maplibre::io::transferables::TessellatedLayer">TessellatedLayer</a></h4></div><div id="associatedtype.LayerIndexed" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#141">source</a><h4 class="code-header">type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a>: <a class="trait" href="trait.IndexedLayer.html" title="trait maplibre::io::transferables::IndexedLayer">IndexedLayer</a></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"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Transferables-for-DefaultTransferables" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#147-152">source</a><a href="#impl-Transferables-for-DefaultTransferables" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Transferables.html" title="trait maplibre::io::transferables::Transferables">Transferables</a> for <a class="struct" href="struct.DefaultTransferables.html" title="struct maplibre::io::transferables::DefaultTransferables">DefaultTransferables</a></h3></section></summary><div class="impl-items"><section id="associatedtype.TileTessellated-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.TileTessellated-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.TileTessellated" class="associatedtype">TileTessellated</a> = <a class="struct" href="struct.DefaultTileTessellated.html" title="struct maplibre::io::transferables::DefaultTileTessellated">DefaultTileTessellated</a></h4></section><section id="associatedtype.LayerUnavailable-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerUnavailable-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a> = <a class="struct" href="struct.DefaultLayerUnavailable.html" title="struct maplibre::io::transferables::DefaultLayerUnavailable">DefaultLayerUnavailable</a></h4></section><section id="associatedtype.LayerTessellated-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerTessellated-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a> = <a class="struct" href="struct.DefaultLayerTesselated.html" title="struct maplibre::io::transferables::DefaultLayerTesselated">DefaultLayerTesselated</a></h4></section><section id="associatedtype.LayerIndexed-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerIndexed-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a> = <a class="struct" href="struct.DefaultLayerIndexed.html" title="struct maplibre::io::transferables::DefaultLayerIndexed">DefaultLayerIndexed</a></h4></section></div></details></div><script src="../../../implementors/maplibre/io/transferables/trait.Transferables.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>
type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a>: <a class="trait" href="trait.LayerUnavailable.html" title="trait maplibre::io::transferables::LayerUnavailable">LayerUnavailable</a>;
type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a>: <a class="trait" href="trait.LayerTessellated.html" title="trait maplibre::io::transferables::LayerTessellated">LayerTessellated</a>;
type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a>: <a class="trait" href="trait.LayerIndexed.html" title="trait maplibre::io::transferables::LayerIndexed">LayerIndexed</a>;
}</code></pre></div><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><div id="associatedtype.TileTessellated" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#152">source</a><h4 class="code-header">type <a href="#associatedtype.TileTessellated" class="associatedtype">TileTessellated</a>: <a class="trait" href="trait.TileTessellated.html" title="trait maplibre::io::transferables::TileTessellated">TileTessellated</a></h4></div><div id="associatedtype.LayerUnavailable" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#153">source</a><h4 class="code-header">type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a>: <a class="trait" href="trait.LayerUnavailable.html" title="trait maplibre::io::transferables::LayerUnavailable">LayerUnavailable</a></h4></div><div id="associatedtype.LayerTessellated" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#154">source</a><h4 class="code-header">type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a>: <a class="trait" href="trait.LayerTessellated.html" title="trait maplibre::io::transferables::LayerTessellated">LayerTessellated</a></h4></div><div id="associatedtype.LayerIndexed" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#155">source</a><h4 class="code-header">type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a>: <a class="trait" href="trait.LayerIndexed.html" title="trait maplibre::io::transferables::LayerIndexed">LayerIndexed</a></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"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Transferables-for-DefaultTransferables" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#161-166">source</a><a href="#impl-Transferables-for-DefaultTransferables" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Transferables.html" title="trait maplibre::io::transferables::Transferables">Transferables</a> for <a class="struct" href="struct.DefaultTransferables.html" title="struct maplibre::io::transferables::DefaultTransferables">DefaultTransferables</a></h3></section></summary><div class="impl-items"><section id="associatedtype.TileTessellated-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.TileTessellated-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.TileTessellated" class="associatedtype">TileTessellated</a> = <a class="struct" href="struct.DefaultTileTessellated.html" title="struct maplibre::io::transferables::DefaultTileTessellated">DefaultTileTessellated</a></h4></section><section id="associatedtype.LayerUnavailable-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerUnavailable-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerUnavailable" class="associatedtype">LayerUnavailable</a> = <a class="struct" href="struct.DefaultLayerUnavailable.html" title="struct maplibre::io::transferables::DefaultLayerUnavailable">DefaultLayerUnavailable</a></h4></section><section id="associatedtype.LayerTessellated-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerTessellated-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerTessellated" class="associatedtype">LayerTessellated</a> = <a class="struct" href="struct.DefaultLayerTesselated.html" title="struct maplibre::io::transferables::DefaultLayerTesselated">DefaultLayerTesselated</a></h4></section><section id="associatedtype.LayerIndexed-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.LayerIndexed-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.LayerIndexed" class="associatedtype">LayerIndexed</a> = <a class="struct" href="struct.DefaultLayerIndexed.html" title="struct maplibre::io::transferables::DefaultLayerIndexed">DefaultLayerIndexed</a></h4></section></div></details></div><script src="../../../implementors/maplibre/io/transferables/trait.Transferables.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,5 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `UnavailableLayer` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, UnavailableLayer"><title>UnavailableLayer in maplibre::io::transferables - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">UnavailableLayer</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.coords">coords</a></li><li><a href="#tymethod.new">new</a></li><li><a href="#tymethod.to_stored_layer">to_stored_layer</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::transferables</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></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">transferables</a>::<wbr><a class="trait" href="#">UnavailableLayer</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/transferables.rs.html#16-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 trait"><code>pub trait UnavailableLayer: <a class="trait" href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> {
fn <a href="#tymethod.new" class="fnname">new</a>(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.65.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self;
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a>;
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.new" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#17">source</a><h4 class="code-header">fn <a href="#tymethod.new" class="fnname">new</a>(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.65.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; Self</h4></div><div id="tymethod.coords" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#19">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.to_stored_layer" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#21">source</a><h4 class="code-header">fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -&gt; <a class="enum" href="../tile_repository/enum.StoredLayer.html" title="enum maplibre::io::tile_repository::StoredLayer">StoredLayer</a></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-UnavailableLayer-for-DefaultLayerUnavailable" class="impl has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#62-77">source</a><a href="#impl-UnavailableLayer-for-DefaultLayerUnavailable" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.UnavailableLayer.html" title="trait maplibre::io::transferables::UnavailableLayer">UnavailableLayer</a> for <a class="struct" href="struct.DefaultLayerUnavailable.html" title="struct maplibre::io::transferables::DefaultLayerUnavailable">DefaultLayerUnavailable</a></h3></section></div><script src="../../../implementors/maplibre/io/transferables/trait.UnavailableLayer.js" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Register stages required for requesting and preparing new tiles."><meta name="keywords" content="rust, rustlang, rust-lang, register_stages"><title>register_stages in maplibre::stages - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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::stages</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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">stages</a>::<wbr><a class="fn" href="#">register_stages</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/stages/mod.rs.html#30-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>pub fn register_stages&lt;E:&nbsp;<a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;schedule: &amp;mut <a class="struct" href="../schedule/struct.Schedule.html" title="struct maplibre::schedule::Schedule">Schedule</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;kernel: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;<a class="struct" href="../kernel/struct.Kernel.html" title="struct maplibre::kernel::Kernel">Kernel</a>&lt;E&gt;&gt;<br>)</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Register stages required for requesting and preparing new tiles.</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Register stages required for requesting and preparing new tiles."><meta name="keywords" content="rust, rustlang, rust-lang, register_stages"><title>register_stages in maplibre::stages - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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::stages</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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">stages</a>::<wbr><a class="fn" href="#">register_stages</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/stages/mod.rs.html#32-35">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 register_stages&lt;E:&nbsp;<a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;schedule: &amp;mut <a class="struct" href="../schedule/struct.Schedule.html" title="struct maplibre::schedule::Schedule">Schedule</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;kernel: <a class="struct" href="https://doc.rust-lang.org/1.65.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;<a class="struct" href="../kernel/struct.Kernel.html" title="struct maplibre::kernel::Kernel">Kernel</a>&lt;E&gt;&gt;<br>)</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Register stages required for requesting and preparing new tiles.</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.65.0 (897e37553 2022-11-02)" ></div></body></html>

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Stages for requesting and preparing data"><meta name="keywords" content="rust, rustlang, rust-lang, stages"><title>maplibre::stages - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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 stages</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="#functions">Functions</a></li></ul></div></section></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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="#">stages</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/stages/mod.rs.html#1-88">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><a href="Stage">Stages</a> for requesting and preparing data</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Stages for requesting and preparing data"><meta name="keywords" content="rust, rustlang, rust-lang, stages"><title>maplibre::stages - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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 stages</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="#functions">Functions</a></li></ul></div></section></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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="#">stages</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/stages/mod.rs.html#1-92">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><a href="Stage">Stages</a> for requesting and preparing data</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="populate_tile_store_stage/index.html" title="maplibre::stages::populate_tile_store_stage mod">populate_tile_store_stage</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short">Receives data from async threads and populates the <a href="../io/tile_repository/struct.TileRepository.html" title="crate::io::tile_repository::TileRepository"><code>crate::io::tile_repository::TileRepository</code></a>.</div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="request_stage/index.html" title="maplibre::stages::request_stage mod">request_stage</a><span title="Restricted Visibility">&nbsp;🔒</span> </div><div class="item-right docblock-short">Requests tiles which are currently in view</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.HeadedPipelineProcessor.html" title="maplibre::stages::HeadedPipelineProcessor struct">HeadedPipelineProcessor</a></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.register_stages.html" title="maplibre::stages::register_stages fn">register_stages</a></div><div class="item-right docblock-short">Register stages required for requesting and preparing new tiles.</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.65.0 (897e37553 2022-11-02)" ></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Tessellation for lines and polygons is implemented here."><meta name="keywords" content="rust, rustlang, rust-lang, tessellation"><title>maplibre::tessellation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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 tessellation</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="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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="#">tessellation</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#1-118">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>Tessellation for lines and polygons is implemented here.</p>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Tessellation for lines and polygons is implemented here."><meta name="keywords" content="rust, rustlang, rust-lang, tessellation"><title>maplibre::tessellation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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 tessellation</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="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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="#">tessellation</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#1-122">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>Tessellation for lines and polygons is implemented here.</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="zero_tessellator/index.html" title="maplibre::tessellation::zero_tessellator mod">zero_tessellator</a></div><div class="item-right docblock-short">Tessellator implementation.</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.OverAlignedVertexBuffer.html" title="maplibre::tessellation::OverAlignedVertexBuffer struct">OverAlignedVertexBuffer</a></div><div class="item-right docblock-short">Vertex buffer which includes additional padding to fulfill the <code>wgpu::COPY_BUFFER_ALIGNMENT</code>.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.VertexConstructor.html" title="maplibre::tessellation::VertexConstructor struct">VertexConstructor</a></div><div class="item-right docblock-short">Constructor for Fill and Stroke vertices.</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.DEFAULT_TOLERANCE.html" title="maplibre::tessellation::DEFAULT_TOLERANCE constant">DEFAULT_TOLERANCE</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></div></div><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.Align.html" title="maplibre::tessellation::Align trait">Align</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></div><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.Tessellated.html" title="maplibre::tessellation::Tessellated trait">Tessellated</a></div><div class="item-right docblock-short">An element that can be tessellated into vertex buffers.</div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="type" href="type.IndexDataType.html" title="maplibre::tessellation::IndexDataType type">IndexDataType</a></div><div class="item-right docblock-short">Vertex buffers index data type.</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.65.0 (897e37553 2022-11-02)" ></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Align` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, Align"><title>Align in maplibre::tessellation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">Align</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.align_indices">align_indices</a></li><li><a href="#tymethod.align_vertices">align_vertices</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul><li><a href="#impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E">VertexBuffers&lt;V, I&gt;</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::tessellation</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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">tessellation</a>::<wbr><a class="trait" href="#">Align</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#87-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 trait"><code>trait Align&lt;V:&nbsp;Pod, I:&nbsp;Pod&gt; {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Align` trait in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, Align"><title>Align in maplibre::tessellation - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><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"></h2></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="#">Align</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.align_indices">align_indices</a></li><li><a href="#tymethod.align_vertices">align_vertices</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul><li><a href="#impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E">VertexBuffers&lt;V, I&gt;</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::tessellation</a></h2></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"><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"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></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">tessellation</a>::<wbr><a class="trait" href="#">Align</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#91-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 trait"><code>trait Align&lt;V:&nbsp;Pod, I:&nbsp;Pod&gt; {
fn <a href="#tymethod.align_vertices" class="fnname">align_vertices</a>(&amp;mut self);
<span class="item-spacer"></span> fn <a href="#tymethod.align_indices" class="fnname">align_indices</a>(&amp;mut self);
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.align_vertices" class="method has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#88">source</a><h4 class="code-header">fn <a href="#tymethod.align_vertices" class="fnname">align_vertices</a>(&amp;mut self)</h4></div><div id="tymethod.align_indices" class="method has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#89">source</a><h4 class="code-header">fn <a href="#tymethod.align_indices" class="fnname">align_indices</a>(&amp;mut self)</h4></div></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#92-118">source</a><a href="#impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;V:&nbsp;Pod, I:&nbsp;Pod&gt; <a class="trait" href="trait.Align.html" title="trait maplibre::tessellation::Align">Align</a>&lt;V, I&gt; for VertexBuffers&lt;V, I&gt;</h3></section></summary><div class="impl-items"><section id="method.align_vertices" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#93-105">source</a><a href="#method.align_vertices" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.align_vertices" class="fnname">align_vertices</a>(&amp;mut self)</h4></section><section id="method.align_indices" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#107-117">source</a><a href="#method.align_indices" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.align_indices" class="fnname">align_indices</a>(&amp;mut self)</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"></div><script src="../../implementors/maplibre/tessellation/trait.Align.js" data-ignore-extern-crates="lyon_tessellation" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>
}</code></pre></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><div id="tymethod.align_vertices" class="method has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#92">source</a><h4 class="code-header">fn <a href="#tymethod.align_vertices" class="fnname">align_vertices</a>(&amp;mut self)</h4></div><div id="tymethod.align_indices" class="method has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#93">source</a><h4 class="code-header">fn <a href="#tymethod.align_indices" class="fnname">align_indices</a>(&amp;mut self)</h4></div></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#96-122">source</a><a href="#impl-Align%3CV%2C%20I%3E-for-VertexBuffers%3CV%2C%20I%3E" class="anchor"></a><h3 class="code-header in-band">impl&lt;V:&nbsp;Pod, I:&nbsp;Pod&gt; <a class="trait" href="trait.Align.html" title="trait maplibre::tessellation::Align">Align</a>&lt;V, I&gt; for VertexBuffers&lt;V, I&gt;</h3></section></summary><div class="impl-items"><section id="method.align_vertices" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#97-109">source</a><a href="#method.align_vertices" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.align_vertices" class="fnname">align_vertices</a>(&amp;mut self)</h4></section><section id="method.align_indices" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/maplibre/tessellation/mod.rs.html#111-121">source</a><a href="#method.align_indices" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.align_indices" class="fnname">align_indices</a>(&amp;mut self)</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"></div><script src="../../implementors/maplibre/tessellation/trait.Align.js" data-ignore-extern-crates="lyon_tessellation" 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.65.0 (897e37553 2022-11-02)" ></div></body></html>

File diff suppressed because one or more lines are too long

View File

@ -170,6 +170,10 @@
<span id="170">170</span>
<span id="171">171</span>
<span id="172">172</span>
<span id="173">173</span>
<span id="174">174</span>
<span id="175">175</span>
<span id="176">176</span>
</pre><pre class="rust"><code><span class="kw">use </span>std::collections::HashSet;
<span class="kw">use </span>geozero::GeozeroDatasource;
@ -220,6 +224,10 @@
layer.process(<span class="kw-2">&amp;mut </span>index).unwrap();
}
<span class="kw">for </span>layer <span class="kw">in </span><span class="kw-2">&amp;mut </span>tile.layers {
layer.process(<span class="kw-2">&amp;mut </span>index).unwrap();
}
context
.processor_mut()
.layer_indexing_finished(<span class="kw-2">&amp;</span>tile_request.coords, index.get_geometries())<span class="question-mark">?</span>;

View File

@ -179,6 +179,7 @@
<span id="179">179</span>
<span id="180">180</span>
<span id="181">181</span>
<span id="182">182</span>
</pre><pre class="rust"><code><span class="doccomment">//! Tile cache.
</span><span class="kw">use </span>std::collections::{btree_map, BTreeMap};
@ -292,7 +293,8 @@
{
<span class="kw">match </span>entry {
btree_map::Entry::Vacant(_entry) =&gt; {
<span class="macro">panic!</span>(<span class="string">&quot;Can not add a tessellated layer if no request has been started before.&quot;</span>)
<span class="macro">panic!</span>(<span class="string">&quot;Can not add a tessellated layer at {} if no request has been started before. \
We might received a tile which was not requested.&quot;</span>, layer.get_coords())
}
btree_map::Entry::Occupied(<span class="kw-2">mut </span>entry) =&gt; {
entry.get_mut().layers.push(layer);

View File

@ -150,6 +150,20 @@
<span id="150">150</span>
<span id="151">151</span>
<span id="152">152</span>
<span id="153">153</span>
<span id="154">154</span>
<span id="155">155</span>
<span id="156">156</span>
<span id="157">157</span>
<span id="158">158</span>
<span id="159">159</span>
<span id="160">160</span>
<span id="161">161</span>
<span id="162">162</span>
<span id="163">163</span>
<span id="164">164</span>
<span id="165">165</span>
<span id="166">166</span>
</pre><pre class="rust"><code><span class="kw">use </span>geozero::mvt::tile::Layer;
<span class="kw">use crate</span>::{
@ -160,34 +174,45 @@
};
<span class="kw">pub trait </span>TileTessellated: Send {
<span class="kw">fn </span>new(coords: WorldTileCoords) -&gt; <span class="self">Self</span>;
<span class="kw">fn </span>build_from(coords: WorldTileCoords) -&gt; <span class="self">Self
</span><span class="kw">where
</span><span class="self">Self</span>: Sized;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords;
}
<span class="kw">pub trait </span>UnavailableLayer: Send {
<span class="kw">fn </span>new(coords: WorldTileCoords, layer_name: String) -&gt; <span class="self">Self</span>;
<span class="kw">pub trait </span>LayerUnavailable: Send {
<span class="kw">fn </span>build_from(coords: WorldTileCoords, layer_name: String) -&gt; <span class="self">Self
</span><span class="kw">where
</span><span class="self">Self</span>: Sized;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords;
<span class="kw">fn </span>layer_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>str;
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -&gt; StoredLayer;
}
<span class="kw">pub trait </span>TessellatedLayer: Send {
<span class="kw">fn </span>new(
<span class="kw">pub trait </span>LayerTessellated: Send {
<span class="kw">fn </span>build_from(
coords: WorldTileCoords,
buffer: OverAlignedVertexBuffer&lt;ShaderVertex, IndexDataType&gt;,
feature_indices: Vec&lt;u32&gt;,
layer_data: Layer,
) -&gt; <span class="self">Self</span>;
) -&gt; <span class="self">Self
</span><span class="kw">where
</span><span class="self">Self</span>: Sized;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords;
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -&gt; StoredLayer;
}
<span class="kw">pub trait </span>IndexedLayer: Send + From&lt;(WorldTileCoords, TileIndex)&gt; {
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords;
<span class="kw">pub trait </span>LayerIndexed: Send {
<span class="kw">fn </span>build_from(coords: WorldTileCoords, index: TileIndex) -&gt; <span class="self">Self
</span><span class="kw">where
</span><span class="self">Self</span>: Sized;
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords;
<span class="kw">fn </span>to_tile_index(<span class="self">self</span>) -&gt; TileIndex;
}
@ -197,12 +222,12 @@
}
<span class="kw">impl </span>TileTessellated <span class="kw">for </span>DefaultTileTessellated {
<span class="kw">fn </span>new(coords: WorldTileCoords) -&gt; <span class="self">Self </span>{
<span class="kw">fn </span>build_from(coords: WorldTileCoords) -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{ coords }
}
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords {
<span class="kw-2">&amp;</span><span class="self">self</span>.coords
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords {
<span class="self">self</span>.coords
}
}
@ -211,13 +236,17 @@
<span class="kw">pub </span>layer_name: String,
}
<span class="kw">impl </span>UnavailableLayer <span class="kw">for </span>DefaultLayerUnavailable {
<span class="kw">fn </span>new(coords: WorldTileCoords, layer_name: String) -&gt; <span class="self">Self </span>{
<span class="kw">impl </span>LayerUnavailable <span class="kw">for </span>DefaultLayerUnavailable {
<span class="kw">fn </span>build_from(coords: WorldTileCoords, layer_name: String) -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{ coords, layer_name }
}
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords {
<span class="kw-2">&amp;</span><span class="self">self</span>.coords
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords {
<span class="self">self</span>.coords
}
<span class="kw">fn </span>layer_name(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>str {
<span class="kw-2">&amp;</span><span class="self">self</span>.layer_name
}
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -&gt; StoredLayer {
@ -228,7 +257,8 @@
}
}
<span class="kw">pub struct </span>DefaultLayerTesselated {
<span class="attribute">#[derive(Clone)]
</span><span class="kw">pub struct </span>DefaultLayerTesselated {
<span class="kw">pub </span>coords: WorldTileCoords,
<span class="kw">pub </span>buffer: OverAlignedVertexBuffer&lt;ShaderVertex, IndexDataType&gt;,
<span class="doccomment">/// Holds for each feature the count of indices.
@ -236,8 +266,8 @@
<span class="kw">pub </span>layer_data: Layer, <span class="comment">// FIXME (perf): Introduce a better structure for this
</span>}
<span class="kw">impl </span>TessellatedLayer <span class="kw">for </span>DefaultLayerTesselated {
<span class="kw">fn </span>new(
<span class="kw">impl </span>LayerTessellated <span class="kw">for </span>DefaultLayerTesselated {
<span class="kw">fn </span>build_from(
coords: WorldTileCoords,
buffer: OverAlignedVertexBuffer&lt;ShaderVertex, IndexDataType&gt;,
feature_indices: Vec&lt;u32&gt;,
@ -251,8 +281,8 @@
}
}
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords {
<span class="kw-2">&amp;</span><span class="self">self</span>.coords
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords {
<span class="self">self</span>.coords
}
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -&gt; StoredLayer {
@ -270,15 +300,13 @@
index: TileIndex,
}
<span class="kw">impl </span>From&lt;(WorldTileCoords, TileIndex)&gt; <span class="kw">for </span>DefaultLayerIndexed {
<span class="kw">fn </span>from((coords, index): (WorldTileCoords, TileIndex)) -&gt; <span class="self">Self </span>{
<span class="kw">impl </span>LayerIndexed <span class="kw">for </span>DefaultLayerIndexed {
<span class="kw">fn </span>build_from(coords: WorldTileCoords, index: TileIndex) -&gt; <span class="self">Self </span>{
<span class="self">Self </span>{ coords, index }
}
}
<span class="kw">impl </span>IndexedLayer <span class="kw">for </span>DefaultLayerIndexed {
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw-2">&amp;</span>WorldTileCoords {
<span class="kw-2">&amp;</span><span class="self">self</span>.coords
<span class="kw">fn </span>coords(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; WorldTileCoords {
<span class="self">self</span>.coords
}
<span class="kw">fn </span>to_tile_index(<span class="self">self</span>) -&gt; TileIndex {
@ -288,9 +316,9 @@
<span class="kw">pub trait </span>Transferables: <span class="lifetime">&#39;static </span>{
<span class="kw">type </span>TileTessellated: TileTessellated;
<span class="kw">type </span>LayerUnavailable: UnavailableLayer;
<span class="kw">type </span>LayerTessellated: TessellatedLayer;
<span class="kw">type </span>LayerIndexed: IndexedLayer;
<span class="kw">type </span>LayerUnavailable: LayerUnavailable;
<span class="kw">type </span>LayerTessellated: LayerTessellated;
<span class="kw">type </span>LayerIndexed: LayerIndexed;
}
<span class="attribute">#[derive(Copy, Clone)]

View File

@ -86,6 +86,10 @@
<span id="86">86</span>
<span id="87">87</span>
<span id="88">88</span>
<span id="89">89</span>
<span id="90">90</span>
<span id="91">91</span>
<span id="92">92</span>
</pre><pre class="rust"><code><span class="doccomment">//! [Stages](Stage) for requesting and preparing data
</span><span class="kw">use </span>std::{marker::PhantomData, rc::Rc};
@ -102,7 +106,9 @@
geometry_index::{IndexedGeometry, TileIndex},
pipeline::PipelineProcessor,
source_client::HttpClient,
transferables::{TessellatedLayer, TileTessellated, Transferables, UnavailableLayer},
transferables::{
LayerIndexed, LayerTessellated, LayerUnavailable, TileTessellated, Transferables,
},
},
kernel::Kernel,
render::ShaderVertex,
@ -131,7 +137,9 @@
{
<span class="kw">fn </span>tile_finished(<span class="kw-2">&amp;mut </span><span class="self">self</span>, coords: <span class="kw-2">&amp;</span>WorldTileCoords) -&gt; <span class="prelude-ty">Result</span>&lt;(), Error&gt; {
<span class="self">self</span>.context
.send(Message::TileTessellated(T::TileTessellated::new(<span class="kw-2">*</span>coords)))
.send(Message::TileTessellated(T::TileTessellated::build_from(
<span class="kw-2">*</span>coords,
)))
}
<span class="kw">fn </span>layer_unavailable(
@ -140,7 +148,7 @@
layer_name: <span class="kw-2">&amp;</span>str,
) -&gt; <span class="prelude-ty">Result</span>&lt;(), Error&gt; {
<span class="self">self</span>.context
.send(Message::LayerUnavailable(T::LayerUnavailable::new(
.send(Message::LayerUnavailable(T::LayerUnavailable::build_from(
<span class="kw-2">*</span>coords,
layer_name.to_owned(),
)))
@ -154,7 +162,7 @@
layer_data: tile::Layer,
) -&gt; <span class="prelude-ty">Result</span>&lt;(), Error&gt; {
<span class="self">self</span>.context
.send(Message::LayerTessellated(T::LayerTessellated::new(
.send(Message::LayerTessellated(T::LayerTessellated::build_from(
<span class="kw-2">*</span>coords,
buffer,
feature_indices,
@ -168,10 +176,10 @@
geometries: Vec&lt;IndexedGeometry&lt;f64&gt;&gt;,
) -&gt; <span class="prelude-ty">Result</span>&lt;(), Error&gt; {
<span class="self">self</span>.context
.send(Message::LayerIndexed(T::LayerIndexed::from((
.send(Message::LayerIndexed(T::LayerIndexed::build_from(
<span class="kw-2">*</span>coords,
TileIndex::Linear { list: geometries },
))))
)))
}
}
</code></pre></div>

View File

@ -97,7 +97,7 @@
io::{
apc::{AsyncProcedureCall, Message},
tile_repository::StoredLayer,
transferables::{IndexedLayer, TessellatedLayer, TileTessellated, UnavailableLayer},
transferables::{LayerIndexed, LayerTessellated, LayerUnavailable, TileTessellated},
},
kernel::Kernel,
schedule::Stage,
@ -135,7 +135,7 @@
<span class="macro">tracing::trace!</span>(<span class="string">&quot;Tile at {} finished loading&quot;</span>, coords);
<span class="macro">log::warn!</span>(<span class="string">&quot;Tile at {} finished loading&quot;</span>, coords);
tile_repository.mark_tile_succeeded(coords);
tile_repository.mark_tile_succeeded(<span class="kw-2">&amp;</span>coords);
}
<span class="comment">// FIXME: deduplicate
</span>Message::LayerUnavailable(message) =&gt; {
@ -166,7 +166,7 @@
tile_repository.put_layer(layer);
}
Message::LayerIndexed(message) =&gt; {
<span class="kw">let </span>coords = <span class="kw-2">*</span>message.coords();
<span class="kw">let </span>coords = message.coords();
<span class="macro">log::warn!</span>(<span class="string">&quot;Layer index at {} reached main thread&quot;</span>, coords);

View File

@ -178,7 +178,7 @@
pipeline::{PipelineContext, Processable},
tile_pipelines::build_vector_tile_pipeline,
tile_repository::TileRepository,
transferables::{Transferables, UnavailableLayer},
transferables::{LayerUnavailable, Transferables},
TileRequest,
},
kernel::Kernel,
@ -262,7 +262,7 @@
context.send(
Message::LayerUnavailable(&lt;&lt;E::AsyncProcedureCall <span class="kw">as </span>AsyncProcedureCall&lt;
E::HttpClient,
&gt;&gt;::Transferables <span class="kw">as </span>Transferables&gt;::LayerUnavailable::new(
&gt;&gt;::Transferables <span class="kw">as </span>Transferables&gt;::LayerUnavailable::build_from(
input.coords,
to_load.to_string(),
)),

View File

@ -116,6 +116,10 @@
<span id="116">116</span>
<span id="117">117</span>
<span id="118">118</span>
<span id="119">119</span>
<span id="120">120</span>
<span id="121">121</span>
<span id="122">122</span>
</pre><pre class="rust"><code><span class="doccomment">//! Tessellation for lines and polygons is implemented here.
</span><span class="kw">use </span>std::ops::Add;
@ -175,14 +179,18 @@
}
}
<span class="kw">pub fn </span>from_slices(vertices: <span class="kw-2">&amp;</span>[V], indices: <span class="kw-2">&amp;</span>[I], usable_indices: u32) -&gt; <span class="self">Self
<span class="kw">pub fn </span>from_iters&lt;IV, II&gt;(vertices: IV, indices: II, usable_indices: u32) -&gt; <span class="self">Self
</span><span class="kw">where
</span>V: Copy,
I: Copy,
</span>IV: IntoIterator&lt;Item = V&gt;,
II: IntoIterator&lt;Item = I&gt;,
IV::IntoIter: ExactSizeIterator,
II::IntoIter: ExactSizeIterator,
{
<span class="kw">let </span><span class="kw-2">mut </span>buffers = VertexBuffers::with_capacity(<span class="number">0</span>, <span class="number">0</span>);
buffers.vertices = Vec::from(vertices);
buffers.indices = Vec::from(indices);
<span class="kw">let </span>vertices = vertices.into_iter();
<span class="kw">let </span>indices = indices.into_iter();
<span class="kw">let </span><span class="kw-2">mut </span>buffers = VertexBuffers::with_capacity(vertices.len(), indices.len());
buffers.vertices.extend(vertices);
buffers.indices.extend(indices);
<span class="self">Self </span>{
buffer: buffers,
usable_indices,