Crate library_of_babel[][src]

Expand description

A Rust implementation of The Library of Babel

Structs

Struct containing Address to a page in a book on a shelf in the wall in the hex room

Page multiplier

Title multiplier

Enums

Enum of errors that this crate can return

Constants

BABEL set of chars

BASE64 set of chars

Number of columns in a page

Total length of a page

Number of rows in a page

Max length of a book title

Functions

Check if all values in the Address are within allowed constraints

Get a page at an Address in the library

Get a title of the page at an Address in the library

Search page by a title in the library and return a Address to the book pointing to first page

Search specific text in the library and return a page