Enum tcl::interpreter::AppendStyle [-] [+] [src]

pub enum AppendStyle {
    Replace,
    Append,
    ReplaceAsList,
    AppendAsList,
}

When setting a variable, how should we handle existing values

Variants

Replace

If the variable exists, replace it

Append

If the variable exists, append it

ReplaceAsList

Set the variable to a single-element list

AppendAsList

If the variable exists, append a list element to it