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@ad95f7665f 🚀
This commit is contained in:
parent
62ee352352
commit
5591b8a4d4
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,3 +1,3 @@
|
||||
(function() {var implementors = {
|
||||
"maplibre":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/raster/transferables/enum.RasterMessageTag.html\" title=\"enum maplibre::raster::transferables::RasterMessageTag\">RasterMessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.WorldTileCoords.html\" title=\"struct maplibre::coords::WorldTileCoords\">WorldTileCoords</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.ZoomLevel.html\" title=\"struct maplibre::coords::ZoomLevel\">ZoomLevel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.TileCoords.html\" title=\"struct maplibre::coords::TileCoords\">TileCoords</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for dyn <a class=\"trait\" href=\"maplibre/io/apc/trait.MessageTag.html\" title=\"trait maplibre::io::apc::MessageTag\">MessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for dyn <a class=\"trait\" href=\"maplibre/schedule/trait.StageLabel.html\" title=\"trait maplibre::schedule::StageLabel\">StageLabel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/vector/transferables/enum.VectorMessageTag.html\" title=\"enum maplibre::vector::transferables::VectorMessageTag\">VectorMessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/render/enum.RenderStageLabel.html\" title=\"enum maplibre::render::RenderStageLabel\">RenderStageLabel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/render/graph/node/struct.NodeId.html\" title=\"struct maplibre::render::graph::node::NodeId\">NodeId</a>"]]
|
||||
"maplibre":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/raster/transferables/enum.RasterMessageTag.html\" title=\"enum maplibre::raster::transferables::RasterMessageTag\">RasterMessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.WorldTileCoords.html\" title=\"struct maplibre::coords::WorldTileCoords\">WorldTileCoords</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.ZoomLevel.html\" title=\"struct maplibre::coords::ZoomLevel\">ZoomLevel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/coords/struct.TileCoords.html\" title=\"struct maplibre::coords::TileCoords\">TileCoords</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for dyn <a class=\"trait\" href=\"maplibre/io/apc/trait.MessageTag.html\" title=\"trait maplibre::io::apc::MessageTag\">MessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for dyn <a class=\"trait\" href=\"maplibre/schedule/trait.StageLabel.html\" title=\"trait maplibre::schedule::StageLabel\">StageLabel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/vector/transferables/enum.VectorMessageTag.html\" title=\"enum maplibre::vector::transferables::VectorMessageTag\">VectorMessageTag</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/window/struct.PhysicalSize.html\" title=\"struct maplibre::window::PhysicalSize\">PhysicalSize</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"maplibre/render/enum.RenderStageLabel.html\" title=\"enum maplibre::render::RenderStageLabel\">RenderStageLabel</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/render/graph/node/struct.NodeId.html\" title=\"struct maplibre::render::graph::node::NodeId\">NodeId</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.73.0/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"struct\" href=\"maplibre/window/struct.LogicalSize.html\" title=\"struct maplibre::window::LogicalSize\">LogicalSize</a>"]]
|
||||
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
||||
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
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 +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 `context` mod in crate `maplibre`."><title>maplibre::context - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module context</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/context.rs.html#1-23">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.MapContext.html" title="struct maplibre::context::MapContext">MapContext</a></div><div class="desc docblock-short">Stores the context of the map.</div></li></ul></section></div></main></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 `context` mod in crate `maplibre`."><title>maplibre::context - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module context</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">context</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/context.rs.html#1-24">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.MapContext.html" title="struct maplibre::context::MapContext">MapContext</a></div><div class="desc docblock-short">Stores the context of the map.</div></li></ul></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@ -13,4 +13,4 @@
|
||||
kernel: <a class="struct" href="https://doc.rust-lang.org/1.73.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../kernel/struct.Kernel.html" title="struct maplibre::kernel::Kernel">Kernel</a><E>>,
|
||||
world: &mut <a class="struct" href="../tcs/world/struct.World.html" title="struct maplibre::tcs::world::World">World</a>,
|
||||
graph: &mut <a class="struct" href="../render/graph/graph/struct.RenderGraph.html" title="struct maplibre::render::graph::graph::RenderGraph">RenderGraph</a>
|
||||
)</h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Plugin%3CE%3E-for-DebugPlugin" class="impl"><a class="src rightside" href="../../src/maplibre/debug/mod.rs.html#69-93">source</a><a href="#impl-Plugin%3CE%3E-for-DebugPlugin" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../debug/struct.DebugPlugin.html" title="struct maplibre::debug::DebugPlugin">DebugPlugin</a></h3></section><section id="impl-Plugin%3CE%3E-for-RenderPlugin" class="impl"><a class="src rightside" href="../../src/maplibre/render/mod.rs.html#538-601">source</a><a href="#impl-Plugin%3CE%3E-for-RenderPlugin" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../render/struct.RenderPlugin.html" title="struct maplibre::render::RenderPlugin">RenderPlugin</a></h3></section><section id="impl-Plugin%3CE%3E-for-RasterPlugin%3CT%3E" class="impl"><a class="src rightside" href="../../src/maplibre/raster/mod.rs.html#44-73">source</a><a href="#impl-Plugin%3CE%3E-for-RasterPlugin%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>, T: <a class="trait" href="../raster/transferables/trait.RasterTransferables.html" title="trait maplibre::raster::transferables::RasterTransferables">RasterTransferables</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../raster/struct.RasterPlugin.html" title="struct maplibre::raster::RasterPlugin">RasterPlugin</a><T></h3></section><section id="impl-Plugin%3CE%3E-for-VectorPlugin%3CT%3E" class="impl"><a class="src rightside" href="../../src/maplibre/vector/mod.rs.html#83-114">source</a><a href="#impl-Plugin%3CE%3E-for-VectorPlugin%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>, T: <a class="trait" href="../vector/transferables/trait.VectorTransferables.html" title="trait maplibre::vector::transferables::VectorTransferables">VectorTransferables</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../vector/struct.VectorPlugin.html" title="struct maplibre::vector::VectorPlugin">VectorPlugin</a><T></h3></section></div><script src="../../implementors/maplibre/plugin/trait.Plugin.js" async></script></section></div></main></body></html>
|
||||
)</h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Plugin%3CE%3E-for-DebugPlugin" class="impl"><a class="src rightside" href="../../src/maplibre/debug/mod.rs.html#69-93">source</a><a href="#impl-Plugin%3CE%3E-for-DebugPlugin" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../debug/struct.DebugPlugin.html" title="struct maplibre::debug::DebugPlugin">DebugPlugin</a></h3></section><section id="impl-Plugin%3CE%3E-for-RenderPlugin" class="impl"><a class="src rightside" href="../../src/maplibre/render/mod.rs.html#541-604">source</a><a href="#impl-Plugin%3CE%3E-for-RenderPlugin" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../render/struct.RenderPlugin.html" title="struct maplibre::render::RenderPlugin">RenderPlugin</a></h3></section><section id="impl-Plugin%3CE%3E-for-RasterPlugin%3CT%3E" class="impl"><a class="src rightside" href="../../src/maplibre/raster/mod.rs.html#44-73">source</a><a href="#impl-Plugin%3CE%3E-for-RasterPlugin%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>, T: <a class="trait" href="../raster/transferables/trait.RasterTransferables.html" title="trait maplibre::raster::transferables::RasterTransferables">RasterTransferables</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../raster/struct.RasterPlugin.html" title="struct maplibre::raster::RasterPlugin">RasterPlugin</a><T></h3></section><section id="impl-Plugin%3CE%3E-for-VectorPlugin%3CT%3E" class="impl"><a class="src rightside" href="../../src/maplibre/vector/mod.rs.html#83-114">source</a><a href="#impl-Plugin%3CE%3E-for-VectorPlugin%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<E: <a class="trait" href="../environment/trait.Environment.html" title="trait maplibre::environment::Environment">Environment</a>, T: <a class="trait" href="../vector/transferables/trait.VectorTransferables.html" title="trait maplibre::vector::transferables::VectorTransferables">VectorTransferables</a>> <a class="trait" href="trait.Plugin.html" title="trait maplibre::plugin::Plugin">Plugin</a><E> for <a class="struct" href="../vector/struct.VectorPlugin.html" title="struct maplibre::vector::VectorPlugin">VectorPlugin</a><T></h3></section></div><script src="../../implementors/maplibre/plugin/trait.Plugin.js" async></script></section></div></main></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 `INDEX_FORMAT` constant in crate `maplibre`."><title>INDEX_FORMAT in maplibre::render - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In maplibre::render</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="constant" href="#">INDEX_FORMAT</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/render/mod.rs.html#76">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) const INDEX_FORMAT: IndexFormat;</code></pre></section></div></main></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 `INDEX_FORMAT` constant in crate `maplibre`."><title>INDEX_FORMAT in maplibre::render - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In maplibre::render</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../index.html">maplibre</a>::<wbr><a href="index.html">render</a>::<wbr><a class="constant" href="#">INDEX_FORMAT</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/render/mod.rs.html#79">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) const INDEX_FORMAT: IndexFormat;</code></pre></section></div></main></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 `NAME` constant in crate `maplibre`."><title>NAME in maplibre::render::draw_graph - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In maplibre::render::draw_graph</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">draw_graph</a>::<wbr><a class="constant" href="#">NAME</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/maplibre/render/mod.rs.html#516">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const NAME: &<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a> = "draw";</code></pre></section></div></main></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 `NAME` constant in crate `maplibre`."><title>NAME in maplibre::render::draw_graph - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><div class="sidebar-elems"><h2><a href="index.html">In maplibre::render::draw_graph</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a href="index.html">draw_graph</a>::<wbr><a class="constant" href="#">NAME</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/maplibre/render/mod.rs.html#519">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const NAME: &<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.str.html">str</a> = "draw";</code></pre></section></div></main></body></html>
|
||||
@ -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="Labels for the “draw” graph"><title>maplibre::render::draw_graph - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module draw_graph</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#constants">Constants</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">draw_graph</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/maplibre/render/mod.rs.html#515">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Labels for the “draw” graph</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="Labels for the “draw” graph"><title>maplibre::render::draw_graph - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../maplibre/index.html"><img class="rust-logo" src="../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module draw_graph</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#constants">Constants</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">maplibre</a>::<wbr><a href="../index.html">render</a>::<wbr><a class="mod" href="#">draw_graph</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/maplibre/render/mod.rs.html#518">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Labels for the “draw” graph</p>
|
||||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="input/index.html" title="mod maplibre::render::draw_graph::input">input</a></div></li><li><div class="item-name"><a class="mod" href="node/index.html" title="mod maplibre::render::draw_graph::node">node</a></div></li></ul><h2 id="constants" class="small-section-header"><a href="#constants">Constants</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.NAME.html" title="constant maplibre::render::draw_graph::NAME">NAME</a></div></li></ul></section></div></main></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 `input` mod in crate `maplibre`."><title>maplibre::render::draw_graph::input - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module input</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/maplibre/render/mod.rs.html#518">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div></section></div></main></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 `input` mod in crate `maplibre`."><title>maplibre::render::draw_graph::input - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module input</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">draw_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/maplibre/render/mod.rs.html#521">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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="This module implements the rendering algorithm of maplibre-rs. It manages the whole communication with the GPU."><title>maplibre::render - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module render</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">render</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/render/mod.rs.html#1-601">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module implements the rendering algorithm of maplibre-rs. It manages the whole
|
||||
<!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="This module implements the rendering algorithm of maplibre-rs. It manages the whole communication with the GPU."><title>maplibre::render - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module render</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">render</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/render/mod.rs.html#1-604">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module implements the rendering algorithm of maplibre-rs. It manages the whole
|
||||
communication with the GPU.</p>
|
||||
<p>The render in this module is largely based on the
|
||||
<a href="https://github.com/bevyengine/bevy/tree/aced6a/crates/bevy_render">bevy_render</a>
|
||||
|
||||
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 `input` mod in crate `maplibre`."><title>maplibre::render::main_graph::input - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module input</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">main_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/maplibre/render/mod.rs.html#506">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div></section></div></main></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 `input` mod in crate `maplibre`."><title>maplibre::render::main_graph::input - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../../../maplibre/index.html"><img class="rust-logo" src="../../../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module input</a></h2><div class="sidebar-elems"></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">maplibre</a>::<wbr><a href="../../index.html">render</a>::<wbr><a href="../index.html">main_graph</a>::<wbr><a class="mod" href="#">input</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../../src/maplibre/render/mod.rs.html#509">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -6,12 +6,12 @@
|
||||
height: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>,
|
||||
edge_insets: <a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a>,
|
||||
}</code></pre><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.zoom" class="structfield small-section-header"><a href="#structfield.zoom" class="anchor field">§</a><code>zoom: <a class="struct" href="../../util/struct.ChangeObserver.html" title="struct maplibre::util::ChangeObserver">ChangeObserver</a><<a class="struct" href="../../coords/struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>></code></span><span id="structfield.camera" class="structfield small-section-header"><a href="#structfield.camera" class="anchor field">§</a><code>camera: <a class="struct" href="../../util/struct.ChangeObserver.html" title="struct maplibre::util::ChangeObserver">ChangeObserver</a><<a class="struct" href="../camera/struct.Camera.html" title="struct maplibre::render::camera::Camera">Camera</a>></code></span><span id="structfield.perspective" class="structfield small-section-header"><a href="#structfield.perspective" class="anchor field">§</a><code>perspective: <a class="struct" href="../camera/struct.Perspective.html" title="struct maplibre::render::camera::Perspective">Perspective</a></code></span><span id="structfield.width" class="structfield small-section-header"><a href="#structfield.width" class="anchor field">§</a><code>width: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.height" class="structfield small-section-header"><a href="#structfield.height" class="anchor field">§</a><code>height: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a></code></span><span id="structfield.edge_insets" class="structfield small-section-header"><a href="#structfield.edge_insets" class="anchor field">§</a><code>edge_insets: <a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a></code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-ViewState" class="impl"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#34-463">source</a><a href="#impl-ViewState" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.ViewState.html" title="struct maplibre::render::view_state::ViewState">ViewState</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#35-59">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a><F: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Rad<<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>>>, P: <a class="trait" href="https://doc.rust-lang.org/1.73.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Deg<<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>>>>(
|
||||
window_size: <a class="struct" href="../../window/struct.WindowSize.html" title="struct maplibre::window::WindowSize">WindowSize</a>,
|
||||
window_size: <a class="struct" href="../../window/struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize">PhysicalSize</a>,
|
||||
position: <a class="struct" href="../../coords/struct.WorldCoords.html" title="struct maplibre::coords::WorldCoords">WorldCoords</a>,
|
||||
zoom: <a class="struct" href="../../coords/struct.Zoom.html" title="struct maplibre::coords::Zoom">Zoom</a>,
|
||||
pitch: P,
|
||||
fovy: F
|
||||
) -> Self</h4></section><section id="method.set_edge_insets" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#60-62">source</a><h4 class="code-header">pub fn <a href="#method.set_edge_insets" class="fn">set_edge_insets</a>(&mut self, edge_insets: <a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a>)</h4></section><section id="method.edge_insets" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#64-66">source</a><h4 class="code-header">pub fn <a href="#method.edge_insets" class="fn">edge_insets</a>(&self) -> &<a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a></h4></section><section id="method.resize" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#68-71">source</a><h4 class="code-header">pub fn <a href="#method.resize" class="fn">resize</a>(&mut self, width: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.u32.html">u32</a>)</h4></section><section id="method.create_view_region" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#73-84">source</a><h4 class="code-header">pub fn <a href="#method.create_view_region" class="fn">create_view_region</a>(&self, visible_level: <a class="struct" href="../../coords/struct.ZoomLevel.html" title="struct maplibre::coords::ZoomLevel">ZoomLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../coords/struct.ViewRegion.html" title="struct maplibre::coords::ViewRegion">ViewRegion</a>></h4></section><section id="method.get_intersection_time" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#86-106">source</a><h4 class="code-header">pub fn <a href="#method.get_intersection_time" class="fn">get_intersection_time</a>(
|
||||
) -> Self</h4></section><section id="method.set_edge_insets" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#60-62">source</a><h4 class="code-header">pub fn <a href="#method.set_edge_insets" class="fn">set_edge_insets</a>(&mut self, edge_insets: <a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a>)</h4></section><section id="method.edge_insets" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#64-66">source</a><h4 class="code-header">pub fn <a href="#method.edge_insets" class="fn">edge_insets</a>(&self) -> &<a class="struct" href="../camera/struct.EdgeInsets.html" title="struct maplibre::render::camera::EdgeInsets">EdgeInsets</a></h4></section><section id="method.resize" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#68-71">source</a><h4 class="code-header">pub fn <a href="#method.resize" class="fn">resize</a>(&mut self, size: <a class="struct" href="../../window/struct.LogicalSize.html" title="struct maplibre::window::LogicalSize">LogicalSize</a>)</h4></section><section id="method.create_view_region" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#73-84">source</a><h4 class="code-header">pub fn <a href="#method.create_view_region" class="fn">create_view_region</a>(&self, visible_level: <a class="struct" href="../../coords/struct.ZoomLevel.html" title="struct maplibre::coords::ZoomLevel">ZoomLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.73.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../coords/struct.ViewRegion.html" title="struct maplibre::coords::ViewRegion">ViewRegion</a>></h4></section><section id="method.get_intersection_time" class="method"><a class="src rightside" href="../../../src/maplibre/render/view_state.rs.html#86-106">source</a><h4 class="code-header">pub fn <a href="#method.get_intersection_time" class="fn">get_intersection_time</a>(
|
||||
ray_origin: Vector3<<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>>,
|
||||
ray_direction: Vector3<<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>>,
|
||||
plane_origin: Vector3<<a class="primitive" href="https://doc.rust-lang.org/1.73.0/std/primitive.f64.html">f64</a>>,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -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="Utilities for the window system."><title>maplibre::window - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module window</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">window</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/window.rs.html#1-63">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for the window system.</p>
|
||||
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.WindowSize.html" title="struct maplibre::window::WindowSize">WindowSize</a></div><div class="desc docblock-short">Window size with a width and an height in pixels.</div></li></ul><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.HeadedMapWindow.html" title="trait maplibre::window::HeadedMapWindow">HeadedMapWindow</a></div><div class="desc docblock-short">Window which references a physical <code>RawWindow</code>. This is only implemented by headed windows and
|
||||
not by headless windows.</div></li><li><div class="item-name"><a class="trait" href="trait.MapWindow.html" title="trait maplibre::window::MapWindow">MapWindow</a></div><div class="desc docblock-short">Window of a certain <a href="struct.WindowSize.html" title="struct maplibre::window::WindowSize"><code>WindowSize</code></a>. This can either be a proper window or a headless one.</div></li><li><div class="item-name"><a class="trait" href="trait.MapWindowConfig.html" title="trait maplibre::window::MapWindowConfig">MapWindowConfig</a></div><div class="desc docblock-short">A configuration for a window which determines the corresponding implementation of 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="Utilities for the window system."><title>maplibre::window - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">Module window</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">maplibre</a>::<wbr><a class="mod" href="#">window</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/window.rs.html#1-105">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Utilities for the window system.</p>
|
||||
</div></details><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.LogicalSize.html" title="struct maplibre::window::LogicalSize">LogicalSize</a></div></li><li><div class="item-name"><a class="struct" href="struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize">PhysicalSize</a></div><div class="desc docblock-short">Window size with a width and an height in pixels.</div></li></ul><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.HeadedMapWindow.html" title="trait maplibre::window::HeadedMapWindow">HeadedMapWindow</a></div><div class="desc docblock-short">Window which references a physical <code>RawWindow</code>. This is only implemented by headed windows and
|
||||
not by headless windows.</div></li><li><div class="item-name"><a class="trait" href="trait.MapWindow.html" title="trait maplibre::window::MapWindow">MapWindow</a></div><div class="desc docblock-short">Window of a certain <a href="struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize"><code>PhysicalSize</code></a>. This can either be a proper window or a headless one.</div></li><li><div class="item-name"><a class="trait" href="trait.MapWindowConfig.html" title="trait maplibre::window::MapWindowConfig">MapWindowConfig</a></div><div class="desc docblock-short">A configuration for a window which determines the corresponding implementation of a
|
||||
<a href="trait.MapWindow.html" title="trait maplibre::window::MapWindow"><code>MapWindow</code></a> and is able to create it.</div></li></ul></section></div></main></body></html>
|
||||
@ -1 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"struct":["WindowSize"],"trait":["HeadedMapWindow","MapWindow","MapWindowConfig"]};
|
||||
window.SIDEBAR_ITEMS = {"struct":["LogicalSize","PhysicalSize"],"trait":["HeadedMapWindow","MapWindow","MapWindowConfig"]};
|
||||
41
docs/api/maplibre/window/struct.LogicalSize.html
Normal file
41
docs/api/maplibre/window/struct.LogicalSize.html
Normal file
File diff suppressed because one or more lines are too long
42
docs/api/maplibre/window/struct.PhysicalSize.html
Normal file
42
docs/api/maplibre/window/struct.PhysicalSize.html
Normal file
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="Window of a certain `WindowSize`. This can either be a proper window or a headless one."><title>MapWindow in maplibre::window - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">MapWindow</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.size">size</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In maplibre::window</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">maplibre</a>::<wbr><a href="index.html">window</a>::<wbr><a class="trait" href="#">MapWindow</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/window.rs.html#8-10">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait MapWindow {
|
||||
<!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="Window of a certain `PhysicalSize`. This can either be a proper window or a headless one."><title>MapWindow in maplibre::window - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="maplibre" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../maplibre/index.html"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2 class="location"><a href="#">MapWindow</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.size">size</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In maplibre::window</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">maplibre</a>::<wbr><a href="index.html">window</a>::<wbr><a class="trait" href="#">MapWindow</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/maplibre/window.rs.html#8-10">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait MapWindow {
|
||||
// Required method
|
||||
fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="struct.WindowSize.html" title="struct maplibre::window::WindowSize">WindowSize</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Window of a certain <a href="struct.WindowSize.html" title="struct maplibre::window::WindowSize"><code>WindowSize</code></a>. This can either be a proper window or a headless one.</p>
|
||||
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.size" class="method"><a class="src rightside" href="../../src/maplibre/window.rs.html#9">source</a><h4 class="code-header">fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="struct.WindowSize.html" title="struct maplibre::window::WindowSize">WindowSize</a></h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../implementors/maplibre/window/trait.MapWindow.js" async></script></section></div></main></body></html>
|
||||
fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize">PhysicalSize</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Window of a certain <a href="struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize"><code>PhysicalSize</code></a>. This can either be a proper window or a headless one.</p>
|
||||
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.size" class="method"><a class="src rightside" href="../../src/maplibre/window.rs.html#9">source</a><h4 class="code-header">fn <a href="#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="struct.PhysicalSize.html" title="struct maplibre::window::PhysicalSize">PhysicalSize</a></h4></section></div><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../implementors/maplibre/window/trait.MapWindow.js" async></script></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@ -21,10 +21,12 @@
|
||||
<a href="#21" id="21">21</a>
|
||||
<a href="#22" id="22">22</a>
|
||||
<a href="#23" id="23">23</a>
|
||||
<a href="#24" id="24">24</a>
|
||||
</pre></div><pre class="rust"><code><span class="kw">use crate</span>::{
|
||||
render::{view_state::ViewState, Renderer},
|
||||
style::Style,
|
||||
tcs::world::World,
|
||||
window::PhysicalSize,
|
||||
};
|
||||
|
||||
<span class="doccomment">/// Stores the context of the map.
|
||||
@ -39,9 +41,9 @@
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>MapContext {
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, width: u32, height: u32) {
|
||||
<span class="self">self</span>.view_state.resize(width, height);
|
||||
<span class="self">self</span>.renderer.resize_surface(width, height)
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, size: PhysicalSize, scale_factor: f64) {
|
||||
<span class="self">self</span>.view_state.resize(size.to_logical(scale_factor));
|
||||
<span class="self">self</span>.renderer.resize_surface(size)
|
||||
}
|
||||
}
|
||||
</code></pre></div></section></main></body></html>
|
||||
@ -599,6 +599,9 @@
|
||||
<a href="#599" id="599">599</a>
|
||||
<a href="#600" id="600">600</a>
|
||||
<a href="#601" id="601">601</a>
|
||||
<a href="#602" id="602">602</a>
|
||||
<a href="#603" id="603">603</a>
|
||||
<a href="#604" id="604">604</a>
|
||||
</pre></div><pre class="rust"><code><span class="doccomment">//! This module implements the rendering algorithm of maplibre-rs. It manages the whole
|
||||
//! communication with the GPU.
|
||||
//!
|
||||
@ -668,10 +671,13 @@
|
||||
|
||||
<span class="kw">pub use </span>shaders::ShaderVertex;
|
||||
|
||||
<span class="kw">use </span><span class="kw">crate</span>::render::{
|
||||
render_phase::{LayerItem, RenderPhase, TileMaskItem},
|
||||
systems::{graph_runner_system::GraphRunnerSystem, upload_system::upload_system},
|
||||
tile_view_pattern::{ViewTileSources, WgpuTileViewPattern},
|
||||
<span class="kw">use crate</span>::{
|
||||
render::{
|
||||
render_phase::{LayerItem, RenderPhase, TileMaskItem},
|
||||
systems::{graph_runner_system::GraphRunnerSystem, upload_system::upload_system},
|
||||
tile_view_pattern::{ViewTileSources, WgpuTileViewPattern},
|
||||
},
|
||||
window::PhysicalSize,
|
||||
};
|
||||
|
||||
<span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">const </span>INDEX_FORMAT: wgpu::IndexFormat = wgpu::IndexFormat::Uint32; <span class="comment">// Must match IndexDataType
|
||||
@ -841,8 +847,8 @@
|
||||
})
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>resize_surface(<span class="kw-2">&mut </span><span class="self">self</span>, width: u32, height: u32) {
|
||||
<span class="self">self</span>.resources.surface.resize(width, height)
|
||||
<span class="kw">pub fn </span>resize_surface(<span class="kw-2">&mut </span><span class="self">self</span>, size: PhysicalSize) {
|
||||
<span class="self">self</span>.resources.surface.resize(size)
|
||||
}
|
||||
|
||||
<span class="doccomment">/// Requests a device
|
||||
@ -1022,12 +1028,12 @@
|
||||
</span><span class="kw">mod </span>tests {
|
||||
<span class="kw">use crate</span>::{
|
||||
tcs::world::World,
|
||||
window::{MapWindow, MapWindowConfig, WindowSize},
|
||||
window::{MapWindow, MapWindowConfig, PhysicalSize},
|
||||
};
|
||||
|
||||
<span class="attr">#[derive(Clone)]
|
||||
</span><span class="kw">pub struct </span>HeadlessMapWindowConfig {
|
||||
size: WindowSize,
|
||||
size: PhysicalSize,
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>MapWindowConfig <span class="kw">for </span>HeadlessMapWindowConfig {
|
||||
@ -1039,11 +1045,11 @@
|
||||
}
|
||||
|
||||
<span class="kw">pub struct </span>HeadlessMapWindow {
|
||||
size: WindowSize,
|
||||
size: PhysicalSize,
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>MapWindow <span class="kw">for </span>HeadlessMapWindow {
|
||||
<span class="kw">fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> WindowSize {
|
||||
<span class="kw">fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> PhysicalSize {
|
||||
<span class="self">self</span>.size
|
||||
}
|
||||
}
|
||||
@ -1087,7 +1093,7 @@
|
||||
<span class="kw">let </span>render_state = RenderResources::new(Surface::from_image(
|
||||
<span class="kw-2">&</span>device,
|
||||
<span class="kw-2">&</span>HeadlessMapWindow {
|
||||
size: WindowSize::new(<span class="number">100</span>, <span class="number">100</span>).expect(<span class="string">"invalid headless map size"</span>),
|
||||
size: PhysicalSize::new(<span class="number">100</span>, <span class="number">100</span>).expect(<span class="string">"invalid headless map size"</span>),
|
||||
},
|
||||
<span class="kw-2">&</span>RendererSettings::default(),
|
||||
));
|
||||
|
||||
@ -383,7 +383,7 @@
|
||||
resource::texture::TextureView,
|
||||
settings::{Msaa, RendererSettings},
|
||||
},
|
||||
window::{HeadedMapWindow, MapWindow, WindowSize},
|
||||
window::{HeadedMapWindow, MapWindow, PhysicalSize},
|
||||
};
|
||||
|
||||
<span class="kw">pub struct </span>BufferDimensions {
|
||||
@ -394,7 +394,7 @@
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>BufferDimensions {
|
||||
<span class="kw">fn </span>new(size: WindowSize) -> <span class="self">Self </span>{
|
||||
<span class="kw">fn </span>new(size: PhysicalSize) -> <span class="self">Self </span>{
|
||||
<span class="kw">let </span>bytes_per_pixel = size_of::<u32>() <span class="kw">as </span>u32;
|
||||
<span class="kw">let </span>unpadded_bytes_per_row = size.width() * bytes_per_pixel;
|
||||
|
||||
@ -412,7 +412,7 @@
|
||||
|
||||
<span class="kw">pub struct </span>WindowHead {
|
||||
surface: wgpu::Surface,
|
||||
size: WindowSize,
|
||||
size: PhysicalSize,
|
||||
|
||||
texture_format: wgpu::TextureFormat,
|
||||
present_mode: wgpu::PresentMode,
|
||||
@ -421,7 +421,7 @@
|
||||
|
||||
<span class="kw">impl </span>WindowHead {
|
||||
<span class="kw">pub fn </span>resize_and_configure(<span class="kw-2">&mut </span><span class="self">self</span>, width: u32, height: u32, device: <span class="kw-2">&</span>wgpu::Device) {
|
||||
<span class="self">self</span>.size = WindowSize::new(width, height).unwrap();
|
||||
<span class="self">self</span>.size = PhysicalSize::new(width, height).unwrap();
|
||||
<span class="self">self</span>.configure(device);
|
||||
}
|
||||
|
||||
@ -535,7 +535,7 @@
|
||||
}
|
||||
|
||||
<span class="kw">pub struct </span>Surface {
|
||||
size: WindowSize,
|
||||
size: PhysicalSize,
|
||||
head: Head,
|
||||
}
|
||||
|
||||
@ -660,12 +660,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> WindowSize {
|
||||
<span class="kw">pub fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> PhysicalSize {
|
||||
<span class="self">self</span>.size
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, width: u32, height: u32) {
|
||||
<span class="self">self</span>.size = WindowSize::new(width, height).expect(<span class="string">"Invalid size for resizing the surface."</span>);
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, size: PhysicalSize) {
|
||||
<span class="self">self</span>.size = size;
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>reconfigure(<span class="kw-2">&mut </span><span class="self">self</span>, device: <span class="kw-2">&</span>wgpu::Device) {
|
||||
|
||||
@ -528,7 +528,7 @@
|
||||
math::{bounds_from_points, Aabb2, Aabb3, Plane},
|
||||
ChangeObserver,
|
||||
},
|
||||
window::WindowSize,
|
||||
window::{LogicalSize, PhysicalSize},
|
||||
};
|
||||
|
||||
<span class="kw">const </span>VIEW_REGION_PADDING: i32 = <span class="number">1</span>;
|
||||
@ -546,7 +546,7 @@
|
||||
|
||||
<span class="kw">impl </span>ViewState {
|
||||
<span class="kw">pub fn </span>new<F: Into<Rad<f64>>, P: Into<Deg<f64>>>(
|
||||
window_size: WindowSize,
|
||||
window_size: PhysicalSize,
|
||||
position: WorldCoords,
|
||||
zoom: Zoom,
|
||||
pitch: P,
|
||||
@ -578,9 +578,9 @@
|
||||
<span class="kw-2">&</span><span class="self">self</span>.edge_insets
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, width: u32, height: u32) {
|
||||
<span class="self">self</span>.width = width <span class="kw">as </span>f64;
|
||||
<span class="self">self</span>.height = height <span class="kw">as </span>f64;
|
||||
<span class="kw">pub fn </span>resize(<span class="kw-2">&mut </span><span class="self">self</span>, size: LogicalSize) {
|
||||
<span class="self">self</span>.width = size.width() <span class="kw">as </span>f64;
|
||||
<span class="self">self</span>.height = size.height() <span class="kw">as </span>f64;
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>create_view_region(<span class="kw-2">&</span><span class="self">self</span>, visible_level: ZoomLevel) -> <span class="prelude-ty">Option</span><ViewRegion> {
|
||||
@ -982,14 +982,14 @@
|
||||
<span class="kw">use crate</span>::{
|
||||
coords::{WorldCoords, Zoom},
|
||||
render::view_state::ViewState,
|
||||
window::WindowSize,
|
||||
window::PhysicalSize,
|
||||
};
|
||||
|
||||
<span class="attr">#[test]
|
||||
</span><span class="kw">fn </span>conform_transformation() {
|
||||
<span class="kw">let </span>fov = Deg(<span class="number">60.0</span>);
|
||||
<span class="kw">let </span><span class="kw-2">mut </span>state = ViewState::new(
|
||||
WindowSize::new(<span class="number">800</span>, <span class="number">600</span>).unwrap(),
|
||||
PhysicalSize::new(<span class="number">800</span>, <span class="number">600</span>).unwrap(),
|
||||
WorldCoords::at_ground(<span class="number">0.0</span>, <span class="number">0.0</span>),
|
||||
Zoom::new(<span class="number">10.0</span>),
|
||||
Deg(<span class="number">0.0</span>),
|
||||
|
||||
@ -61,15 +61,57 @@
|
||||
<a href="#61" id="61">61</a>
|
||||
<a href="#62" id="62">62</a>
|
||||
<a href="#63" id="63">63</a>
|
||||
<a href="#64" id="64">64</a>
|
||||
<a href="#65" id="65">65</a>
|
||||
<a href="#66" id="66">66</a>
|
||||
<a href="#67" id="67">67</a>
|
||||
<a href="#68" id="68">68</a>
|
||||
<a href="#69" id="69">69</a>
|
||||
<a href="#70" id="70">70</a>
|
||||
<a href="#71" id="71">71</a>
|
||||
<a href="#72" id="72">72</a>
|
||||
<a href="#73" id="73">73</a>
|
||||
<a href="#74" id="74">74</a>
|
||||
<a href="#75" id="75">75</a>
|
||||
<a href="#76" id="76">76</a>
|
||||
<a href="#77" id="77">77</a>
|
||||
<a href="#78" id="78">78</a>
|
||||
<a href="#79" id="79">79</a>
|
||||
<a href="#80" id="80">80</a>
|
||||
<a href="#81" id="81">81</a>
|
||||
<a href="#82" id="82">82</a>
|
||||
<a href="#83" id="83">83</a>
|
||||
<a href="#84" id="84">84</a>
|
||||
<a href="#85" id="85">85</a>
|
||||
<a href="#86" id="86">86</a>
|
||||
<a href="#87" id="87">87</a>
|
||||
<a href="#88" id="88">88</a>
|
||||
<a href="#89" id="89">89</a>
|
||||
<a href="#90" id="90">90</a>
|
||||
<a href="#91" id="91">91</a>
|
||||
<a href="#92" id="92">92</a>
|
||||
<a href="#93" id="93">93</a>
|
||||
<a href="#94" id="94">94</a>
|
||||
<a href="#95" id="95">95</a>
|
||||
<a href="#96" id="96">96</a>
|
||||
<a href="#97" id="97">97</a>
|
||||
<a href="#98" id="98">98</a>
|
||||
<a href="#99" id="99">99</a>
|
||||
<a href="#100" id="100">100</a>
|
||||
<a href="#101" id="101">101</a>
|
||||
<a href="#102" id="102">102</a>
|
||||
<a href="#103" id="103">103</a>
|
||||
<a href="#104" id="104">104</a>
|
||||
<a href="#105" id="105">105</a>
|
||||
</pre></div><pre class="rust"><code><span class="doccomment">//! Utilities for the window system.
|
||||
|
||||
</span><span class="kw">use </span>std::num::NonZeroU32;
|
||||
|
||||
<span class="kw">use </span>raw_window_handle::{HasRawDisplayHandle, HasRawWindowHandle};
|
||||
|
||||
<span class="doccomment">/// Window of a certain [`WindowSize`]. This can either be a proper window or a headless one.
|
||||
<span class="doccomment">/// Window of a certain [`PhysicalSize`]. This can either be a proper window or a headless one.
|
||||
</span><span class="kw">pub trait </span>MapWindow {
|
||||
<span class="kw">fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> WindowSize;
|
||||
<span class="kw">fn </span>size(<span class="kw-2">&</span><span class="self">self</span>) -> PhysicalSize;
|
||||
}
|
||||
|
||||
<span class="doccomment">/// Window which references a physical `RawWindow`. This is only implemented by headed windows and
|
||||
@ -94,13 +136,13 @@
|
||||
}
|
||||
|
||||
<span class="doccomment">/// Window size with a width and an height in pixels.
|
||||
</span><span class="attr">#[derive(Clone, Copy, Eq, PartialEq)]
|
||||
</span><span class="kw">pub struct </span>WindowSize {
|
||||
</span><span class="attr">#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
|
||||
</span><span class="kw">pub struct </span>PhysicalSize {
|
||||
width: NonZeroU32,
|
||||
height: NonZeroU32,
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>WindowSize {
|
||||
<span class="kw">impl </span>PhysicalSize {
|
||||
<span class="kw">pub fn </span>new(width: u32, height: u32) -> <span class="prelude-ty">Option</span><<span class="self">Self</span>> {
|
||||
<span class="prelude-val">Some</span>(<span class="self">Self </span>{
|
||||
width: NonZeroU32::new(width)<span class="question-mark">?</span>,
|
||||
@ -124,4 +166,46 @@
|
||||
<span class="self">self</span>.height
|
||||
}
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
|
||||
</span><span class="kw">pub struct </span>LogicalSize {
|
||||
width: NonZeroU32,
|
||||
height: NonZeroU32,
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>LogicalSize {
|
||||
<span class="kw">pub fn </span>new(width: u32, height: u32) -> <span class="prelude-ty">Option</span><<span class="self">Self</span>> {
|
||||
<span class="prelude-val">Some</span>(<span class="self">Self </span>{
|
||||
width: NonZeroU32::new(width)<span class="question-mark">?</span>,
|
||||
height: NonZeroU32::new(height)<span class="question-mark">?</span>,
|
||||
})
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>width(<span class="kw-2">&</span><span class="self">self</span>) -> u32 {
|
||||
<span class="self">self</span>.width.get()
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>width_non_zero(<span class="kw-2">&</span><span class="self">self</span>) -> NonZeroU32 {
|
||||
<span class="self">self</span>.width
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>height(<span class="kw-2">&</span><span class="self">self</span>) -> u32 {
|
||||
<span class="self">self</span>.height.get()
|
||||
}
|
||||
|
||||
<span class="kw">pub fn </span>height_non_zero(<span class="kw-2">&</span><span class="self">self</span>) -> NonZeroU32 {
|
||||
<span class="self">self</span>.height
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">impl </span>PhysicalSize {
|
||||
<span class="kw">pub fn </span>to_logical(<span class="kw-2">&</span><span class="self">self</span>, scale_factor: f64) -> LogicalSize {
|
||||
<span class="kw">let </span>width = <span class="self">self</span>.width.get() <span class="kw">as </span>f64 / scale_factor;
|
||||
<span class="kw">let </span>height = <span class="self">self</span>.height.get() <span class="kw">as </span>f64 / scale_factor;
|
||||
LogicalSize {
|
||||
width: NonZeroU32::new(width <span class="kw">as </span>u32).expect(<span class="string">"impossible to reach"</span>),
|
||||
height: NonZeroU32::new(height <span class="kw">as </span>u32).expect(<span class="string">"impossible to reach"</span>),
|
||||
}
|
||||
}
|
||||
}
|
||||
</code></pre></div></section></main></body></html>
|
||||
Loading…
x
Reference in New Issue
Block a user