Struct pmd_code_table::CodeTable[][src]

pub struct CodeTable { /* fields omitted */ }
Expand description

Represent a complete [code_table.bin] file.

Implementations

Create a new CodeTable from a reader open on a code_table.bin

Add the three 0xcf00, 0xcf02, 0xcfff code, missing from the standard [code_table.bin] (control for rubi/overtext)

Generate a CodeToText object, allowing to transform an encoded text to a String with human readable placeholder.

Generate a TextToCode object, allowing to transform a human-readable string (generated by a CodeToText) into a binary text readable by the game (it first need to be put inside a message container (see the pmd_message crate) then into a farc file (see pmd_farc crate). The pmdtranslate crate contain command line and a complete exemple for those case.

Return a list of all the entries in this file

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.