mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Deploying to gh-pages from @ maplibre/maplibre-rs@f82ac0e8a3 🚀
This commit is contained in:
parent
8a7479427b
commit
025426e009
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
@ -1,5 +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">☰</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">−</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> {
|
||||
<!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">☰</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#46-54">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</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>) -> Self<br> <span class="where">where<br> 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>(&self) -> <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) -> <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>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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) -> <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>
|
||||
}</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#47-49">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>) -> Self<span class="where fmt-newline">where<br> 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#51">source</a><h4 class="code-header">fn <a href="#tymethod.coords" class="fnname">coords</a>(&self) -> <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#53">source</a><h4 class="code-header">fn <a href="#tymethod.to_tile_index" class="fnname">to_tile_index</a>(self) -> <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#143-155">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>
|
||||
@ -1,5 +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 `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">☰</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">−</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> {
|
||||
<!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">☰</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.is_empty">is_empty</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-44">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</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> coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br> buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::tessellation::OverAlignedVertexBuffer">OverAlignedVertexBuffer</a><<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>>,<br> 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><<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>>,<br> layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br> ) -> Self<br> <span class="where">where<br> 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>(&self) -> <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.is_empty" class="fnname">is_empty</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.bool.html">bool</a>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -> <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> coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br> buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::tessellation::OverAlignedVertexBuffer">OverAlignedVertexBuffer</a><<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>>,<br> 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><<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>>,<br> layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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) -> <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>
|
||||
}</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> coords: <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a>,<br> buffer: <a class="struct" href="../../tessellation/struct.OverAlignedVertexBuffer.html" title="struct maplibre::tessellation::OverAlignedVertexBuffer">OverAlignedVertexBuffer</a><<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>>,<br> 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><<a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.u32.html">u32</a>>,<br> layer_data: <a class="struct" href="../../tile/struct.Layer.html" title="struct maplibre::tile::Layer">Layer</a><br>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <a class="struct" href="../../coords/struct.WorldTileCoords.html" title="struct maplibre::coords::WorldTileCoords">WorldTileCoords</a></h4></div><div id="tymethod.is_empty" 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.is_empty" class="fnname">is_empty</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.65.0/std/primitive.bool.html">bool</a></h4></div><div id="tymethod.to_stored_layer" class="method has-srclink"><a class="srclink rightside" href="../../../src/maplibre/io/transferables.rs.html#43">source</a><h4 class="code-header">fn <a href="#tymethod.to_stored_layer" class="fnname">to_stored_layer</a>(self) -> <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#105-136">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>
|
||||
@ -3,4 +3,4 @@
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.coords" class="fnname">coords</a>(&self) -> <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>(&self) -> &<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) -> <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>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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>(&self) -> &<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) -> <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>
|
||||
}</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>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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>(&self) -> &<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) -> <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#75-94">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>
|
||||
@ -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">☰</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">−</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>) -> Self<br> <span class="where">where<br> 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>(&self) -> <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>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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>
|
||||
}</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>) -> Self<span class="where fmt-newline">where<br> 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>(&self) -> <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#60-68">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>
|
||||
@ -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">☰</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">−</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">☰</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#157-162">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</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.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>
|
||||
}</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#158">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#159">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#160">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#161">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#167-172">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>
|
||||
@ -1,3 +1,3 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated into a new render command which executes multiple instruction sets."><meta name="keywords" content="rust, rustlang, rust-lang, render_commands"><title>maplibre::render::render_commands - 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">☰</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 render_commands</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</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 href="../index.html">render</a>::<wbr><a class="mod" href="#">render_commands</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#1-177">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated
|
||||
<!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="Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated into a new render command which executes multiple instruction sets."><meta name="keywords" content="rust, rustlang, rust-lang, render_commands"><title>maplibre::render::render_commands - 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">☰</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 render_commands</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</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 href="../index.html">render</a>::<wbr><a class="mod" href="#">render_commands</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#1-182">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated
|
||||
into a new render command which executes multiple instruction sets.</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.DrawDebugOutline.html" title="maplibre::render::render_commands::DrawDebugOutline struct">DrawDebugOutline</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.DrawMask.html" title="maplibre::render::render_commands::DrawMask struct">DrawMask</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.DrawTile.html" title="maplibre::render::render_commands::DrawTile struct">DrawTile</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.SetDebugPipeline.html" title="maplibre::render::render_commands::SetDebugPipeline struct">SetDebugPipeline</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.SetMaskPipeline.html" title="maplibre::render::render_commands::SetMaskPipeline struct">SetMaskPipeline</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.SetTilePipeline.html" title="maplibre::render::render_commands::SetTilePipeline struct">SetTilePipeline</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.SetViewBindGroup.html" title="maplibre::render::render_commands::SetViewBindGroup struct">SetViewBindGroup</a></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.DrawDebugOutlines.html" title="maplibre::render::render_commands::DrawDebugOutlines type">DrawDebugOutlines</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.DrawMasks.html" title="maplibre::render::render_commands::DrawMasks type">DrawMasks</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.DrawTiles.html" title="maplibre::render::render_commands::DrawTiles type">DrawTiles</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
@ -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 `DrawDebugOutlines` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawDebugOutlines"><title>DrawDebugOutlines in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawDebugOutlines</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawDebugOutlines</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#177">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawDebugOutlines = (<a class="struct" href="struct.SetDebugPipeline.html" title="struct maplibre::render::render_commands::SetDebugPipeline">SetDebugPipeline</a>, <a class="struct" href="struct.DrawDebugOutline.html" title="struct maplibre::render::render_commands::DrawDebugOutline">DrawDebugOutline</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.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 `DrawDebugOutlines` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawDebugOutlines"><title>DrawDebugOutlines in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawDebugOutlines</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawDebugOutlines</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#182">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawDebugOutlines = (<a class="struct" href="struct.SetDebugPipeline.html" title="struct maplibre::render::render_commands::SetDebugPipeline">SetDebugPipeline</a>, <a class="struct" href="struct.DrawDebugOutline.html" title="struct maplibre::render::render_commands::DrawDebugOutline">DrawDebugOutline</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.65.0 (897e37553 2022-11-02)" ></div></body></html>
|
||||
@ -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 `DrawMasks` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawMasks"><title>DrawMasks in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawMasks</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawMasks</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#175">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawMasks = (<a class="struct" href="struct.SetMaskPipeline.html" title="struct maplibre::render::render_commands::SetMaskPipeline">SetMaskPipeline</a>, <a class="struct" href="struct.DrawMask.html" title="struct maplibre::render::render_commands::DrawMask">DrawMask</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.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 `DrawMasks` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawMasks"><title>DrawMasks in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawMasks</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawMasks</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#180">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawMasks = (<a class="struct" href="struct.SetMaskPipeline.html" title="struct maplibre::render::render_commands::SetMaskPipeline">SetMaskPipeline</a>, <a class="struct" href="struct.DrawMask.html" title="struct maplibre::render::render_commands::DrawMask">DrawMask</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.65.0 (897e37553 2022-11-02)" ></div></body></html>
|
||||
@ -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 `DrawTiles` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawTiles"><title>DrawTiles in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawTiles</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawTiles</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#173">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawTiles = (<a class="struct" href="struct.SetTilePipeline.html" title="struct maplibre::render::render_commands::SetTilePipeline">SetTilePipeline</a>, <a class="struct" href="struct.SetViewBindGroup.html" title="struct maplibre::render::render_commands::SetViewBindGroup">SetViewBindGroup</a><0>, <a class="struct" href="struct.DrawTile.html" title="struct maplibre::render::render_commands::DrawTile">DrawTile</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.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 `DrawTiles` type in crate `maplibre`."><meta name="keywords" content="rust, rustlang, rust-lang, DrawTiles"><title>DrawTiles in maplibre::render::render_commands - 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 type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="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="#">DrawTiles</a></h2><div class="sidebar-elems"><h2 class="location"><a href="index.html">In maplibre::render::render_commands</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">Type Definition <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">render_commands</a>::<wbr><a class="type" href="#">DrawTiles</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/maplibre/render/render_commands.rs.html#178">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust typedef"><code>pub type DrawTiles = (<a class="struct" href="struct.SetTilePipeline.html" title="struct maplibre::render::render_commands::SetTilePipeline">SetTilePipeline</a>, <a class="struct" href="struct.SetViewBindGroup.html" title="struct maplibre::render::render_commands::SetViewBindGroup">SetViewBindGroup</a><0>, <a class="struct" href="struct.DrawTile.html" title="struct maplibre::render::render_commands::DrawTile">DrawTile</a>);</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="maplibre" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.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
@ -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="Receives data from async threads and populates the [`crate::io::tile_repository::TileRepository`]."><meta name="keywords" content="rust, rustlang, rust-lang, populate_tile_store_stage"><title>maplibre::stages::populate_tile_store_stage - 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">☰</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 populate_tile_store_stage</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</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">stages</a>::<wbr><a class="mod" href="#">populate_tile_store_stage</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/populate_tile_store_stage.rs.html#1-92">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>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>.</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="Receives data from async threads and populates the [`crate::io::tile_repository::TileRepository`]."><meta name="keywords" content="rust, rustlang, rust-lang, populate_tile_store_stage"><title>maplibre::stages::populate_tile_store_stage - 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">☰</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 populate_tile_store_stage</a></h2><div class="sidebar-elems"><section><div class="block"><ul><li><a href="#structs">Structs</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">stages</a>::<wbr><a class="mod" href="#">populate_tile_store_stage</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/populate_tile_store_stage.rs.html#1-97">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>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>.</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.PopulateTileStore.html" title="maplibre::stages::populate_tile_store_stage::PopulateTileStore struct">PopulateTileStore</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
@ -152,11 +152,11 @@
|
||||
}
|
||||
|
||||
<span class="kw">pub async fn </span>fetch(<span class="kw-2">&</span><span class="self">self</span>, coords: <span class="kw-2">&</span>WorldTileCoords) -> <span class="prelude-ty">Result</span><Vec<u8>, SourceFetchError> {
|
||||
<span class="kw">let </span>tile_coords = coords.into_tile(TileAddressingScheme::TMS).unwrap();
|
||||
<span class="kw">let </span>tile_coords = coords.into_tile(TileAddressingScheme::XYZ).unwrap();
|
||||
<span class="self">self</span>.inner_client
|
||||
.fetch(
|
||||
<span class="macro">format!</span>(
|
||||
<span class="string">"https://maps.tuerantuer.org/europe_germany/{z}/{x}/{y}.pbf"</span>,
|
||||
<span class="string">"https://maps.tuerantuer.org/europe_germany/{z}/{x}/{y}"</span>,
|
||||
x = tile_coords.x,
|
||||
y = tile_coords.y,
|
||||
z = tile_coords.z
|
||||
|
||||
@ -164,6 +164,12 @@
|
||||
<span id="164">164</span>
|
||||
<span id="165">165</span>
|
||||
<span id="166">166</span>
|
||||
<span id="167">167</span>
|
||||
<span id="168">168</span>
|
||||
<span id="169">169</span>
|
||||
<span id="170">170</span>
|
||||
<span id="171">171</span>
|
||||
<span id="172">172</span>
|
||||
</pre><pre class="rust"><code><span class="kw">use </span>geozero::mvt::tile::Layer;
|
||||
|
||||
<span class="kw">use crate</span>::{
|
||||
@ -204,6 +210,8 @@
|
||||
|
||||
<span class="kw">fn </span>coords(<span class="kw-2">&</span><span class="self">self</span>) -> WorldTileCoords;
|
||||
|
||||
<span class="kw">fn </span>is_empty(<span class="kw-2">&</span><span class="self">self</span>) -> bool;
|
||||
|
||||
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -> StoredLayer;
|
||||
}
|
||||
|
||||
@ -285,6 +293,10 @@
|
||||
<span class="self">self</span>.coords
|
||||
}
|
||||
|
||||
<span class="kw">fn </span>is_empty(<span class="kw-2">&</span><span class="self">self</span>) -> bool {
|
||||
<span class="self">self</span>.buffer.usable_indices == <span class="number">0
|
||||
</span>}
|
||||
|
||||
<span class="kw">fn </span>to_stored_layer(<span class="self">self</span>) -> StoredLayer {
|
||||
StoredLayer::TessellatedLayer {
|
||||
coords: <span class="self">self</span>.coords,
|
||||
|
||||
@ -175,6 +175,11 @@
|
||||
<span id="175">175</span>
|
||||
<span id="176">176</span>
|
||||
<span id="177">177</span>
|
||||
<span id="178">178</span>
|
||||
<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">//! Specifies the instructions which are going to be sent to the GPU. Render commands can be concatenated
|
||||
//! into a new render command which executes multiple instruction sets.
|
||||
|
||||
@ -320,11 +325,16 @@
|
||||
<span class="kw-2">&</span>entry.coords
|
||||
);
|
||||
|
||||
<span class="kw">let </span>index_range = entry.indices_buffer_range();
|
||||
|
||||
<span class="kw">if </span>index_range.is_empty() {
|
||||
<span class="macro">tracing::error!</span>(<span class="string">"Tried to draw a vector tile without any vertices"</span>);
|
||||
<span class="kw">return </span>RenderCommandResult::Failure;
|
||||
}
|
||||
|
||||
pass.set_stencil_reference(reference);
|
||||
pass.set_index_buffer(
|
||||
buffer_pool.indices().slice(entry.indices_buffer_range()),
|
||||
INDEX_FORMAT,
|
||||
);
|
||||
|
||||
pass.set_index_buffer(buffer_pool.indices().slice(index_range), INDEX_FORMAT);
|
||||
pass.set_vertex_buffer(
|
||||
<span class="number">0</span>,
|
||||
buffer_pool.vertices().slice(entry.vertices_buffer_range()),
|
||||
|
||||
@ -90,6 +90,11 @@
|
||||
<span id="90">90</span>
|
||||
<span id="91">91</span>
|
||||
<span id="92">92</span>
|
||||
<span id="93">93</span>
|
||||
<span id="94">94</span>
|
||||
<span id="95">95</span>
|
||||
<span id="96">96</span>
|
||||
<span id="97">97</span>
|
||||
</pre><pre class="rust"><code><span class="doccomment">//! Receives data from async threads and populates the [`crate::io::tile_repository::TileRepository`].
|
||||
|
||||
</span><span class="kw">use </span>std::rc::Rc;
|
||||
@ -156,6 +161,11 @@
|
||||
tile_repository.put_layer(layer);
|
||||
}
|
||||
Message::LayerTessellated(message) => {
|
||||
<span class="comment">// TODO: Is it fine to ignore layers without any vertices?
|
||||
</span><span class="kw">if </span>message.is_empty() {
|
||||
<span class="kw">continue</span>;
|
||||
}
|
||||
|
||||
<span class="kw">let </span>layer: StoredLayer = message.to_stored_layer();
|
||||
|
||||
<span class="macro">tracing::debug!</span>(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user