Crate io_interner[][src]

A simple crate implementing a struct wrapping a reader and writer that's used to create readers to unique data.

Structs

IOInterner

A struct wrapping a Mutex<T> used for storing and retrieving data thought readers.

IOObj

A struct generated by IOInterner::get_or_intern.

Functions

eq

Checks if the contents of the reader x are the ones of y.

starts_with

Checks if the first contents of the reader haystack are the ones of needle,an empty needle is always true.