Skip to main content

write_elements

Function write_elements 

Source
fn write_elements(
    table: &mut Table,
    keyed: &Keyed,
    list: &str,
    changes: &[(&str, Option<&str>)],
    renamed: bool,
) -> Result<(), String>
Expand description

The elements named so of a keyed list in table (changes: each name and its value, none to take it out), all named as the list holds them before any of them changes: replaced (their local fields kept), added, or taken out. list: its name in the records; at the top, the list keeps the name it has in the file (Keyed::also).