MCPcopy Create free account

hub / github.com/Yatekii/sailor / functions

Functions199 in github.com/Yatekii/sailor

↓ 26 callersMethoditer
(&self)
src/lib/math/tile_field.rs:27
↓ 19 callersFunctionwhitespace
Munch all whitespace before and after `f`.
src/lib/css.rs:343
↓ 15 callersMethodto_string
(&self)
src/lib/vector_tile/tile.rs:361
↓ 9 callersMethodtext
(&self)
src/lib/vector_tile/tile.rs:264
↓ 8 callersMethodpoints
Returns the set of points contained in the object.
src/lib/object.rs:56
↓ 7 callersFunctionas_byte_slice
(slice: &[T])
src/lib/drawing/mod.rs:11
↓ 6 callersMethodadd_vertex
(&mut self, v: FillVertex)
src/lib/drawing/mesh.rs:63
↓ 5 callersMethodcontains
(&self, tile_id: &TileId)
src/lib/math/tile_field.rs:34
↓ 5 callersMethodget_tile_size
(&self)
src/lib/math/screen.rs:21
↓ 5 callersMethodsize
(&self)
src/lib/css.rs:295
↓ 5 callersMethodtile_to_global_space
(&self, z: f32, coordinate: &TileId)
src/lib/math/screen.rs:45
↓ 4 callersMethodget_current_index
(&mut self)
src/lib/drawing/mesh.rs:41
↓ 4 callersMethodget_tile_boundaries_for_zoom_level
(&self, z: f32, scale: u32)
src/lib/math/screen.rs:25
↓ 4 callersFunctionload_glsl
(code: &str, stage: ShaderStage)
src/bin/drawing/helpers.rs:10
↓ 4 callersMethodvisible_tiles
(&self)
src/bin/app_state.rs:55
↓ 3 callersFunctionadd_header_separator
(ui: &Ui, title: impl Into<ImString>)
src/bin/drawing/ui/ui.rs:352
↓ 3 callersFunctionget_side
(a: &Point, b: &Point, c: &Point)
src/lib/drawing/line_tesselator.rs:5
↓ 3 callersMethodwith_any
Makes the selector require the kv `key`/`value`.
src/lib/css.rs:247
↓ 2 callersFunctionadd_color_picker
(ui: &Ui, rule: &mut Rule, attribute: &str)
src/bin/drawing/ui/ui.rs:271
↓ 2 callersFunctionadd_slider_float
(ui: &Ui, rule: &mut Rule, attribute: &str)
src/bin/drawing/ui/ui.rs:306
↓ 2 callersFunctiondeg2num
(lat_deg: f32, lon_deg: f32, zoom: u32)
src/lib/math/mod.rs:16
↓ 2 callersFunctionensure_cache_structure
(root: impl AsRef<Path>, tile_id: &TileId)
src/lib/fetch.rs:84
↓ 2 callersMethodensure_feature
(&mut self, selector: &Selector)
src/lib/feature/collection.rs:36
↓ 2 callersMethodextent
(&self)
src/lib/vector_tile/tile.rs:244
↓ 2 callersMethodget_zindex
(&self, feature_id: u32)
src/lib/feature/collection.rs:65
↓ 2 callersFunctionglobal_to_num_space
(point: &Point, z: u32)
src/lib/math/mod.rs:29
↓ 2 callersMethodmatches
Checks if a subset of criteria of this selector matches all the criteria of another. Use example: layer.selector.matches(&landmark_selector)`.
src/lib/css.rs:255
↓ 2 callersMethodmesh
(&self)
src/lib/vector_tile/tile.rs:256
↓ 2 callersMethodnew_vertex
(&mut self, vertex: tessellation::FillVertex)
src/lib/drawing/vertex.rs:38
↓ 2 callersFunctionnum_to_global_space
(coordinate: &TileCoordinate)
src/lib/math/mod.rs:25
↓ 2 callersMethodobjects
(&self)
src/lib/vector_tile/tile.rs:252
↓ 2 callersMethodselector
Returns the selector describing the object.
src/lib/object.rs:66
↓ 2 callersMethodset_current_extent
(&mut self, extent: f32)
src/lib/drawing/mesh.rs:37
↓ 2 callersMethodset_current_feature_id
(&mut self, feature_id: u32)
src/lib/drawing/mesh.rs:33
↓ 2 callersMethodset_current_vertex_type
(&mut self, vertex_type: VertexType)
src/lib/drawing/mesh.rs:45
↓ 2 callersMethodtile_id
(&self)
src/lib/vector_tile/tile.rs:272
↓ 2 callersFunctiontry_parse_styles
Tries to parse an entire stylesheet.
src/lib/css.rs:19
↓ 2 callersMethodwith_type
Makes the selector require the type `typ`.
src/lib/css.rs:229
↓ 1 callersMethodadd
(self, other: Self)
src/lib/math/tile_id.rs:33
↓ 1 callersFunctionadd_display_none
(ui: &Ui, rule: &mut Rule)
src/bin/drawing/ui/ui.rs:330
↓ 1 callersMethodadd_feature
(&mut self, mut feature: Feature)
src/lib/feature/collection.rs:29
↓ 1 callersMethodadd_object
(&mut self, id: usize, object: &Object)
src/lib/interaction/tile_collider.rs:25
↓ 1 callersMethodadvance_selected_object
(&mut self)
src/bin/app_state.rs:157
↓ 1 callersMethodassemble_style_buffer
(&self)
src/lib/feature/collection.rs:75
↓ 1 callersMethodcapture_frame
(&mut self)
src/bin/stats.rs:22
↓ 1 callersMethodcollider
(&self)
src/lib/vector_tile/tile.rs:248
↓ 1 callersMethodcreate_bind_group
( device: &Device, bind_group_layout: &BindGroupLayout, texture: &Texture, sam
src/bin/drawing/weather/temperature.rs:203
↓ 1 callersMethodcreate_render_pipeline
( device: &Device, bind_group_layout: &BindGroupLayout, vs_module: &ShaderModule,
src/bin/drawing/weather/temperature.rs:146
↓ 1 callersFunctiondeg2rad
(deg: f32)
src/lib/math/mod.rs:12
↓ 1 callersMethodfeature_collection
(&self)
src/bin/app_state.rs:59
↓ 1 callersMethodfeatures
(&self)
src/lib/vector_tile/tile.rs:260
↓ 1 callersFunctionfetch_tile_data
(cache_location: impl AsRef<Path>, tile_id: &TileId)
src/lib/fetch.rs:5
↓ 1 callersFunctionfetch_tile_from_server
(tile_id: &TileId)
src/lib/fetch.rs:50
↓ 1 callersMethodfinalize_loaded_tiles
Check loaders for loaded tiles and insert them if there is any.
src/lib/cache.rs:39
↓ 1 callersMethodgenerate_texture
( &mut self, device: &mut wgpu::Device, queue: &mut wgpu::Queue, width: u32,
src/bin/drawing/weather/temperature.rs:227
↓ 1 callersFunctiongeometry_commands_to_paths
(geometry_type: GeomType, geometry: &[u32])
src/lib/vector_tile/mod.rs:107
↓ 1 callersMethodget_feature_id
(&mut self, selector: &crate::css::Selector)
src/lib/feature/collection.rs:21
↓ 1 callersMethodget_features
(&self)
src/lib/feature/collection.rs:17
↓ 1 callersMethodget_hidpi_factor
(&self)
src/bin/drawing/painter.rs:541
↓ 1 callersMethodget_last_delta
(&self)
src/bin/stats.rs:34
↓ 1 callersMethodget_matching_rules
Returns all Rules that match a given selector. E.g. `layer` does not match the `layer[zoom=5]` rule selector. On the contrary, `layer[zoom=5]` matche
src/lib/css.rs:81
↓ 1 callersMethodget_matching_rules_mut
(&mut self, selector: &Selector)
src/lib/css.rs:88
↓ 1 callersMethodglobal_to_screen
(&self, z: f32)
src/lib/math/screen.rs:52
↓ 1 callersMethodgpu_tile
(&self)
src/lib/vector_tile/visible_tile.rs:58
↓ 1 callersMethodhas_outline
(&self, feature_id: u32)
src/lib/feature/collection.rs:58
↓ 1 callersMethodinteract
( &mut self, window: &winit::window::Window, event: &winit::event::Event<()>, )
src/bin/drawing/ui/ui.rs:259
↓ 1 callersFunctionis_in_cache
(path: impl Into<String>)
src/lib/fetch.rs:80
↓ 1 callersMethodis_loaded_to_gpu
(&self)
src/lib/vector_tile/visible_tile.rs:46
↓ 1 callersMethodis_visible
(&self, feature_id: u32)
src/lib/feature/collection.rs:44
↓ 1 callersMethodload
(device: &Device, tile: &Tile)
src/lib/drawing/loaded_gpu_tile.rs:11
↓ 1 callersMethodload_collider
(&mut self)
src/lib/vector_tile/visible_tile.rs:50
↓ 1 callersMethodload_style
(&mut self, zoom: f32, css_cache: &mut RulesCache)
src/lib/feature/mod.rs:55
↓ 1 callersMethodload_styles
(&mut self, zoom: f32, css_cache: &mut RulesCache)
src/lib/feature/collection.rs:69
↓ 1 callersMethodload_tiles
(&mut self)
src/bin/app_state.rs:63
↓ 1 callersMethodload_to_gpu
(&self, device: &Device)
src/lib/vector_tile/visible_tile.rs:35
↓ 1 callersMethodnext
(&mut self)
src/lib/math/tile_field.rs:52
↓ 1 callersMethodpaint
( &mut self, app_state: &mut AppState, window: &winit::window::Window, device:
src/bin/drawing/ui/ui.rs:76
↓ 1 callersFunctionparse_one_to_path
( geometry_type: GeomType, geometry: &[u32], cursor: &mut usize, gcursor: &mut Point, )
src/lib/vector_tile/mod.rs:42
↓ 1 callersFunctionpaths_to_drawable
( builder: &mut MeshBuilder, geometry_type: GeomType, paths: &[Path], extent: f32, tile_id
src/lib/vector_tile/mod.rs:120
↓ 1 callersMethodqueue_text
(&self, glyph_brush: &mut GlyphBrush<()>, screen: &Screen, z: f32)
src/lib/vector_tile/visible_tile.rs:105
↓ 1 callersMethodrequest_tile
Request a tile from the cache.
src/lib/cache.rs:66
↓ 1 callersMethodresize
(&mut self, width: u32, height: u32)
src/bin/drawing/painter.rs:545
↓ 1 callersMethodset_center
(&mut self, center: (f32, f32))
src/bin/app_state.rs:167
↓ 1 callersMethodstats
(&self)
src/lib/vector_tile/tile.rs:268
↓ 1 callersFunctiontesselate_line2
(path: &Path, builder: &mut MeshBuilder, z: u32)
src/lib/drawing/line_tesselator.rs:9
↓ 1 callersMethodtile_id
(&self)
src/lib/vector_tile/visible_tile.rs:23
↓ 1 callersMethodtry_get_tile
Get a `Tile` from the `TileCache`. Returns `None` if the tile is not in the cache. The user has to request the loading of the `Tile` on their own.
src/lib/cache.rs:113
↓ 1 callersMethodtry_reload_from_file
Tries reloading the cached styles from a file. Returns `true` if it succeeded. Returns `false` in any error case.
src/lib/css.rs:139
↓ 1 callersMethodupdate
(&mut self)
src/lib/interaction/tile_collider.rs:44
↓ 1 callersMethodupdate_hovered_objects
(&mut self, point: (f32, f32))
src/bin/app_state.rs:144
↓ 1 callersMethodupdate_selected_hover_objects
(&mut self)
src/bin/app_state.rs:149
↓ 1 callersMethodupdate_shader
Reloads the shader if the file watcher has detected any change to the shader files.
src/bin/drawing/painter.rs:476
↓ 1 callersMethodupdate_uniforms
( &mut self, encoder: &mut CommandEncoder, app_state: &AppState, feature_colle
src/bin/drawing/painter.rs:559
Method_paint
(&self, encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView)
src/bin/drawing/weather/temperature.rs:339
Method_with_class
Makes the selector require the class `class`.
src/lib/css.rs:241
Method_with_id
Makes the selector require the id `id`.
src/lib/css.rs:235
Methodabort_geometry
(&mut self)
src/lib/drawing/mesh.rs:80
Methodadd
(self, rhs: Self)
src/lib/vector_tile/tile.rs:36
Methodadd_assign
(&mut self, other: Self)
src/lib/vector_tile/tile.rs:48
Methodadd_assign
(&mut self, other: Self)
src/lib/math/tile_id.rs:44
next →1–100 of 199, ranked by callers