mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix formatting
This commit is contained in:
parent
43842a0102
commit
c57b67426e
@ -8,11 +8,11 @@ pub(crate) mod io;
|
|||||||
pub(crate) mod map_state;
|
pub(crate) mod map_state;
|
||||||
pub(crate) mod platform;
|
pub(crate) mod platform;
|
||||||
pub(crate) mod render;
|
pub(crate) mod render;
|
||||||
|
pub(crate) mod style;
|
||||||
pub(crate) mod tessellation;
|
pub(crate) mod tessellation;
|
||||||
|
pub(crate) mod tilejson;
|
||||||
pub(crate) mod util;
|
pub(crate) mod util;
|
||||||
pub(crate) mod winit;
|
pub(crate) mod winit;
|
||||||
pub(crate) mod style;
|
|
||||||
pub(crate) mod tilejson;
|
|
||||||
|
|
||||||
// Used for benchmarking
|
// Used for benchmarking
|
||||||
pub mod benchmarking;
|
pub mod benchmarking;
|
||||||
@ -20,9 +20,9 @@ pub mod window;
|
|||||||
|
|
||||||
use crate::map_state::{MapState, Runnable};
|
use crate::map_state::{MapState, Runnable};
|
||||||
use crate::render::render_state::RenderState;
|
use crate::render::render_state::RenderState;
|
||||||
|
use crate::style::Style;
|
||||||
use crate::window::{WindowFactory, WindowSize};
|
use crate::window::{WindowFactory, WindowSize};
|
||||||
pub use io::scheduler::ScheduleMethod;
|
pub use io::scheduler::ScheduleMethod;
|
||||||
use crate::style::Style;
|
|
||||||
pub use platform::schedule_method::*;
|
pub use platform::schedule_method::*;
|
||||||
|
|
||||||
pub struct Map<W, E> {
|
pub struct Map<W, E> {
|
||||||
|
|||||||
@ -2,10 +2,10 @@ use std::panic;
|
|||||||
use std::thread::Thread;
|
use std::thread::Thread;
|
||||||
|
|
||||||
use super::schedule_method::WebWorkerPoolScheduleMethod;
|
use super::schedule_method::WebWorkerPoolScheduleMethod;
|
||||||
|
use crate::style::source::TileAddressingScheme;
|
||||||
use console_error_panic_hook;
|
use console_error_panic_hook;
|
||||||
pub use instant::Instant;
|
pub use instant::Instant;
|
||||||
use js_sys::{ArrayBuffer, Error as JSError, Uint8Array};
|
use js_sys::{ArrayBuffer, Error as JSError, Uint8Array};
|
||||||
use crate::style::source::TileAddressingScheme;
|
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
use wasm_bindgen::JsCast;
|
use wasm_bindgen::JsCast;
|
||||||
use wasm_bindgen_futures::JsFuture;
|
use wasm_bindgen_futures::JsFuture;
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
use std::panic;
|
use std::panic;
|
||||||
|
|
||||||
|
use crate::style::source::TileAddressingScheme;
|
||||||
use console_error_panic_hook;
|
use console_error_panic_hook;
|
||||||
pub use instant::Instant;
|
pub use instant::Instant;
|
||||||
use crate::style::source::TileAddressingScheme;
|
|
||||||
use schedule_method::WebWorkerPoolScheduleMethod;
|
use schedule_method::WebWorkerPoolScheduleMethod;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
|
|||||||
@ -522,8 +522,8 @@ impl RingIndex {
|
|||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use lyon::tessellation::VertexBuffers;
|
|
||||||
use crate::style::layer::StyleLayer;
|
use crate::style::layer::StyleLayer;
|
||||||
|
use lyon::tessellation::VertexBuffers;
|
||||||
use wgpu::BufferAddress;
|
use wgpu::BufferAddress;
|
||||||
|
|
||||||
use crate::render::buffer_pool::{
|
use crate::render::buffer_pool::{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user