Module tile

Module tile 

Source
Expand description

Macros§

t
Shortcut for creating a tile literal through its string shorthand.

Structs§

Tile
Represents one tile (牌).

Constants§

UNICODE_TILE_BACK

Functions§

maybe_tile_unicode
Represents Some(tile) as Tile::unicode() and None as UNICODE_TILE_BACK
tiles_from_str
Parses a shorthand string of tiles following the format (\d*[mpsz])*.