Skip to main content

add_key

Function add_key 

Source
pub fn add_key(t: &mut Table, name: &str, kind: Kind) -> bool
Expand description

Add a key to a table.

Refuses an empty name and one already there: inserting over an existing key would replace it, and losing a value to a name collision is not what pressing Add asks for.