Skip to main content

Crate oxa_modelmap

Crate oxa_modelmap 

Source
Expand description

The single, optional model-renaming injection point defined by spec/03. oxa libraries carry no built-in model knowledge; callers may supply a Table, and the table is applied to the model value on both conversion directions. The model string is otherwise opaque and passes through verbatim.

Structsยง

Table
Maps model names to model names. Lookup is exact-match on the keys; on a miss (or with an empty table) the identity fallback applies and the value is returned unchanged. No table installed is exactly an empty table.