Docs.rs
ute-0.0.2
ute 0.0.2
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
itspacrat
Dependencies
serde ^1
normal
Versions
68.75%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate ute
ute
0.0.2
All Items
Crate Items
Modules
Structs
Functions
Crate
ute
Copy item path
Source
Modules
§
generate
tile generation tools.
Structs
§
Edge
Edge
Value
holds a
is_open: bool
, and an
edge_tag: Vec<TagPosition>
TagPosition
holds a tag_position: String, and a tag_value: String
Tile
map this struct with serde_json::from_str() | struct holds
tile_id: String
,
tile_center: string
,
tile_edges: Vec<Edge>
Functions
§
identify_
tile
takes in a mutable Tile ref (tile: &Tile) and returns a (String) with a new “tile_id” value based on the tile field information. EXAMPLE: identify_tile(tile) -> tile (it now has a tile_id)