1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-util-geo/src/mvt.rs
Items
const DEFAULT_EXTENT const MVT_VERSION const CONTENT_TYPE const CMD_MOVE_TO const CMD_LINE_TO const CMD_CLOSE_PATH struct MvtError impl Display for MvtError impl Error for MvtError impl From for MvtError struct IPoint impl IPoint enum TileGeometry impl TileGeometry struct MvtFeature struct MvtLayer impl MvtLayer struct GeometryWriter impl GeometryWriter enum ValueKey
Functions
By call-graph weight (PageRank; 1.0 is the average function). 31 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| IPoint::newsrc/mvt.rs:49 | method | 3 | 1 | 4 | 0 | 3.2 | |
| ring_area2src/mvt.rs:125 | fn | 13 | 3 | 4 | 0 | 1.4 | |
| psrc/mvt.rs:478 | fn | 3 | 1 | 6 | 1 | 1.3 | |
| commandsrc/mvt.rs:153 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| GeometryWriter::pointsrc/mvt.rs:167 | method | 5 | 1 | 2 | 1 | 1.1 | |
| decode_geometrysrc/mvt.rs:392 | fn | 24 | 8 | 4 | 2 | 1 | |
| encodesrc/mvt.rs:325 | fn | 7 | 2 | 3 | 3 | 1 | |
| encode_geometrysrc/mvt.rs:190 | fn | 49 | 15 | 4 | 6 | 1 | |
| decodesrc/mvt.rs:461 | fn | 12 | 3 | 6 | 3 | 1 | |
| GeometryWriter::pathsrc/mvt.rs:173 | method | 14 | 4 | 2 | 2 | 1 | |
| decode_pathssrc/mvt.rs:358 | fn | 32 | 7 | 1 | 2 | 0.9 | |
| encode_layersrc/mvt.rs:272 | fn | 50 | 7 | 1 | 9 | 0.8 | |
| decode_layersrc/mvt.rs:417 | fn | 42 | 14 | 1 | 7 | 0.8 | |
| MvtLayer::newsrc/mvt.rs:119 | method | 3 | 1 | 2 | 0 | 0.7 | |
| clean_pathsrc/mvt.rs:140 | fn | 12 | 6 | 1 | 0 | 0.6 | |
| GeometryWriter::newsrc/mvt.rs:163 | method | 3 | 1 | 1 | 0 | 0.6 | |
| TileGeometry::to_worldsrc/mvt.rs:80 | method | 22 | 4 | 1 | 3 | 0.6 | |
| read_valuesrc/mvt.rs:333 | fn | 23 | 9 | 1 | 7 | 0.6 | |
| TileGeometry::type_codesrc/mvt.rs:63 | method | 7 | 3 | 1 | 0 | 0.6 | |
| value_keysrc/mvt.rs:250 | fn | 9 | 5 | 1 | 0 | 0.6 | |
| write_valuesrc/mvt.rs:260 | fn | 10 | 7 | 1 | 5 | 0.6 | |
| MvtError::fmtsrc/mvt.rs:29 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| MvtError::fromsrc/mvt.rs:37 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| TileGeometry::is_emptysrc/mvt.rs:71 | method | 7 | 3 | 0 | 0 | 0.5 | |
| spec_examples_encode_exactlysrc/mvt.rs:484 | fn | 21 | 1 | 0 | 2 | 0.5 | |
| spec_multipolygon_example_round_tripssrc/mvt.rs:507 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| encoder_fixes_winding_and_drops_degenerate_ringssrc/mvt.rs:522 | fn | 17 | 1 | 0 | 4 | 0.5 | |
| layers_round_trip_with_every_value_typesrc/mvt.rs:541 | fn | 36 | 1 | 0 | 4 | 0.5 | |
| interned_tables_share_repeated_valuessrc/mvt.rs:579 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| corrupt_tiles_errorsrc/mvt.rs:593 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| tile_geometry_maps_back_to_worldsrc/mvt.rs:600 | fn | 5 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.