cities 0.2.0

10,000 Cities with Latitude, Longitude, and Elevation in Rust
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 2 items with examples
  • Size
  • Source code size: 779.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 16.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • tidwall/cities-rs
    13 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tidwall

10,000 Cities with Latitude, Longitude, and Elevation

travis license crates.io version documentation

Usage

The all() function returns a slice to the static cities array.

for city in cities::all(){
    println!("{:?}", city);
}

Looking for the Go version?

Animation created using pinhole.