[−][src]Crate library_of_babel
A Rust implementation of The Library of Babel
Macros
parse_address | Parse address from |
Structs
Address | Struct containing |
BABEL_SET | BABEL set of chars |
BASE64_SET | BASE64 set of chars |
PAGE_MULT | Page multiplier |
TITLE_MULT | Title multiplier |
Enums
Error | Enum of errors that this crate can return |
Constants
COLUMNS | Number of colums in a page |
PAGE_LENGTH | Total length of a page |
ROWS | Number of rows in a page |
TITLE_LENGTH | Max length of a book title |
Functions
check_address | Check if all values in the address are within allowed constraints |
get_page | Get a page at an |
get_title_of_page | Get a title of the page at an |
pad_rand | Return a string randomly padded with Babel characters |
search_page_by_title | Search page by a title in the library and return a |
search_text_in_library | Search specific text in the library and return a page |