[][src]Crate rpick

rpick

rpick helps pick items from a list of choices, using various algorithms.

Structs

Engine

The rpick Engine object allows you to write your own rpick interface.

InventoryChoice

Represents an individual choice for the inventory model.

LotteryChoice

Represents an individual choice for the lottery model.

WeightedChoice

Represents an individual choice for the weighted model.

Enums

ConfigCategory

A category of items that can be chosen from.

Functions

read_config

Return the user's config as a BTreeMap.

write_config

Save the data from the given BTreeMap to the user's config file.