Module finl_charsub::charsub [−][src]
Expand description
This module provides the implementtion of the finl CharSub mechanism. An input string will be
read and returned as a Cow<str>
which either has the unmodified original string or a new
string with any substitutions applied.
So, for example, given the substitutions:
`` → “
'' → ”
The input string
This is ``amazing''
will give the output string
This is “amazing”
Structs
The implementation of a char substitution machine. This is a non-thread-safe implementation with mutable state.
Enums
Errors from reading the char sub file.