1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-util-gis-store/src/layer.rs
Items
const LAYER_SCHEMA const DEFAULT_MAX_ZOOM enum FieldType impl FieldType struct FieldSpec impl FieldSpec struct LayerSource struct LayerSpec impl LayerSpec
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| valid_layer_idsrc/layer.rs:124 | fn | 6 | 7 | 5 | 0 | 2.7 | |
| layer_schemasrc/layer.rs:115 | fn | 3 | 1 | 1 | 0 | 1.5 | |
| LayerSpec::newsrc/layer.rs:132 | method | 22 | 1 | 6 | 1 | 1.1 | |
| LayerSpec::vector_layer_jsonsrc/layer.rs:184 | method | 17 | 1 | 3 | 2 | 1 | |
| FieldType::tilejson_typesrc/layer.rs:29 | method | 7 | 3 | 1 | 0 | 0.9 | |
| LayerSpec::fieldsrc/layer.rs:179 | method | 3 | 1 | 1 | 0 | 0.9 | |
| LayerSpec::validatesrc/layer.rs:155 | method | 15 | 6 | 3 | 1 | 0.9 | |
| FieldSpec::newsrc/layer.rs:52 | method | 3 | 1 | 2 | 0 | 0.8 | |
| LayerSpec::keeps_fieldsrc/layer.rs:172 | method | 6 | 4 | 2 | 0 | 0.7 | |
| default_max_zoomsrc/layer.rs:119 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| specs_round_trip_with_defaultssrc/layer.rs:208 | fn | 17 | 1 | 0 | 3 | 0.5 | |
| validation_catches_leaks_and_bad_idssrc/layer.rs:227 | fn | 9 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.