Struct toml_edit::InlineTable[][src]

pub struct InlineTable { /* fields omitted */ }

Type representing a TOML inline table, payload of the Value::InlineTable variant

Methods

impl InlineTable
[src]

Returns the number of key/value pairs.

Returns true iff the table is empty.

Returns an iterator over key/value pairs.

Sorts the key/value pairs by key.

Returns true iff the table contains given key.

Merges the key/value pairs into the other table leaving self empty.

Inserts a key/value pair if the table does not contain the key. Returns a mutable reference to the corresponding value.

Auto formats the table.

Removes a key/value pair given the key.

Return an optional reference to the value at the given the key.

Return an optional mutable reference to the value at the given the key.

Trait Implementations

impl Display for InlineTable
[src]

Formats the value using the given formatter. Read more

impl From<InlineTable> for Value
[src]

Performs the conversion.

impl Debug for InlineTable
[src]

Formats the value using the given formatter. Read more

impl Default for InlineTable
[src]

Returns the "default value" for a type. Read more

impl Clone for InlineTable
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl TableLike for InlineTable
[src]

Returns an iterator over key/value pairs.

Returns an optional reference to an item given the key.

Returns the number of nonempty items.

Returns true iff the table is empty.

Auto Trait Implementations

impl Send for InlineTable

impl Sync for InlineTable