Trait toml_edit::TableLike [] [src]

pub trait TableLike {
    fn iter(&self) -> Iter;
fn get<'s>(&'s self, key: &str) -> Option<&'s Item>; fn len(&self) -> usize { ... }
fn is_empty(&self) -> bool { ... } }

This trait represents either a Table, or an InlineTable.

Required Methods

Returns an iterator over key/value pairs.

Returns an optional reference to an item given the key.

Provided Methods

Returns the number of nonempty items.

Returns true iff the table is empty.