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]

[src]

Returns the number of key/value pairs.

[src]

Returns true iff the table is empty.

[src]

Returns an iterator over key/value pairs.

[src]

Sorts the key/value pairs by key.

[src]

Returns true iff the table contains given key.

[src]

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

[src]

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

[src]

Auto formats the table.

[src]

Removes a key/value pair given the key.

[src]

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

[src]

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

Trait Implementations

impl Debug for InlineTable
[src]

[src]

Formats the value using the given formatter.

impl Default for InlineTable
[src]

[src]

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

impl Clone for InlineTable
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl TableLike for InlineTable
[src]

[src]

Returns an iterator over key/value pairs.

[src]

Returns an optional reference to an item given the key.

[src]

Returns the number of nonempty items.

[src]

Returns true iff the table is empty.

impl Display for InlineTable
[src]

[src]

Formats the value using the given formatter. Read more