Skip to main content

english_and_places_from_source

Function english_and_places_from_source 

Source
pub fn english_and_places_from_source(
    file: &str,
    source: &str,
) -> Result<(BTreeMap<String, String>, Places), Vec<ContentError>>
Expand description

The source’s screen text and where it is drawn, by key: what english_from_source reads, with each key’s Place where its value is written as (text: …, max_cells: …, note: …) rather than as text (both optional). A max_cells is at least 1, and a note isn’t empty.