Fix formatting

This commit is contained in:
Maximilian Ammann 2022-09-24 16:59:08 +02:00
parent 8c7a1f32d0
commit a36067d995
4 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
use maplibre::io::apc::SchedulerAsyncProcedureCall;
use maplibre::{
io::apc::SchedulerAsyncProcedureCall,
platform::{http_client::ReqwestHttpClient, run_multithreaded, scheduler::TokioScheduler},
MapBuilder,
};

View File

@ -1,12 +1,12 @@
use std::collections::HashSet;
use criterion::{criterion_group, criterion_main, Criterion};
use maplibre::io::apc::SchedulerAsyncProcedureCall;
use maplibre::{
coords::{WorldTileCoords, ZoomLevel},
error::Error,
headless::{utils::HeadlessPipelineProcessor, HeadlessMapWindowConfig},
io::{
apc::SchedulerAsyncProcedureCall,
pipeline::{PipelineContext, Processable},
source_client::HttpSourceClient,
tile_pipelines::build_vector_tile_pipeline,

View File

@ -3,16 +3,16 @@
//! * Platform Events like suspend/resume
//! * Render a new frame
use crate::winit::WinitEnvironment;
use maplibre::io::apc::SchedulerAsyncProcedureCall;
use maplibre::platform::http_client::ReqwestHttpClient;
use maplibre::platform::run_multithreaded;
use maplibre::platform::scheduler::TokioScheduler;
use maplibre::window::{HeadedMapWindow, MapWindow, MapWindowConfig, WindowSize};
use maplibre::MapBuilder;
use maplibre::{
io::apc::SchedulerAsyncProcedureCall,
platform::{http_client::ReqwestHttpClient, run_multithreaded, scheduler::TokioScheduler},
window::{HeadedMapWindow, MapWindow, MapWindowConfig, WindowSize},
MapBuilder,
};
use winit::window::WindowBuilder;
use super::{WinitEventLoop, WinitMapWindow, WinitMapWindowConfig, WinitWindow};
use crate::winit::WinitEnvironment;
impl MapWindow for WinitMapWindow {
fn size(&self) -> WindowSize {

View File

@ -1,5 +1,5 @@
use std::any::TypeId;
use std::{
any::TypeId,
borrow::Borrow,
cell::RefCell,
collections::HashMap,