Module util

Module util 

Source
Expand description

Various utility types for usage in and around this library.

Structs§

KeyValue
Auxiliary struct for parsing key-value pairs.
Pos
Simple (x, y) coordinate / vector

Enums§

ParseNumberError
All the ways that parsing with ParseNumber can fail.

Constants§

MAX_PARSE_VALUE
The default limit when parsing via ParseNumber.

Traits§

ParseNumber
Parses a &str to a number and makes sure it doesn’t exceed a limit.
StrExt
Extension methods for str which are commonly used in and around this library.