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-app-location/src/coords.rs
Items
struct Coords enum CoordsError impl Display for CoordsError impl Error for CoordsError impl Coords const EARTH_R_KM
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Coords::newsrc/coords.rs:45 | method | 9 | 5 | 13 | 0 | 11.4 | |
| parse_geosrc/coords.rs:71 | fn | 7 | 1 | 4 | 1 | 6.2 | |
| place_from_lat_lngsrc/coords.rs:64 | fn | 3 | 1 | 5 | 1 | 2.2 | |
| haversine_kmsrc/coords.rs:83 | fn | 12 | 1 | 5 | 0 | 1.5 | |
| format_decimalsrc/coords.rs:98 | fn | 5 | 3 | 2 | 0 | 1.3 | |
| CoordsError::fmtsrc/coords.rs:33 | trait impl | 7 | 3 | 0 | 0 | 0.5 | |
| Coords::encodesrc/coords.rs:56 | method | 3 | 1 | 0 | 1 | 0.5 | |
| coords_validate_rangessrc/coords.rs:109 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| coords_error_display_covers_all_variantssrc/coords.rs:119 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| encode_round_trip_via_parse_geosrc/coords.rs:125 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| place_from_lat_lng_matches_direct_encodesrc/coords.rs:135 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| place_from_lat_lng_rejects_bad_rangessrc/coords.rs:142 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| parse_geo_returns_none_for_non_geo_prefixsrc/coords.rs:148 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| format_decimal_strips_trailing_zerossrc/coords.rs:156 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| haversine_zero_distance_at_same_pointsrc/coords.rs:166 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| haversine_sf_to_nyc_about_4130_kmsrc/coords.rs:172 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| haversine_is_symmetricsrc/coords.rs:182 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| encoded_place_id_round_trips_through_assetref_patternsrc/coords.rs:191 | fn | 17 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.