Crate string_generator [−] [src]
Provides ways of creating random strings from patterns.
Structs
GenStringError |
Error type for string generation. |
Functions
gen_string |
Generate a string from a set of catagories, a pattern, and a random number generator. The
patterns are scanned through one at a time, then used to pull a slice out of the hashmap. An
entry from this is then reandomly selected, and turned into a character. These are all combined
into a string and returned. Should an error occur, an instance of |