MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / make_entry

Function make_entry

nodedb-spatial/src/rtree/bulk_load.rs:154–159  ·  view source on GitHub ↗
(id: u64, lng: f64, lat: f64)

Source from the content-addressed store, hash-verified

152 use nodedb_types::BoundingBox;
153
154 fn make_entry(id: u64, lng: f64, lat: f64) -> RTreeEntry {
155 RTreeEntry {
156 id,
157 bbox: BoundingBox::from_point(lng, lat),
158 }
159 }
160
161 #[test]
162 fn bulk_load_500() {

Callers 1

bulk_load_500Function · 0.70

Calls

no outgoing calls

Tested by 1

bulk_load_500Function · 0.56