Struct toml_edit::ArrayOfTables[][src]

pub struct ArrayOfTables { /* fields omitted */ }
Expand description

Type representing a TOML array of tables

Implementations

Creates an empty array of tables.

Returns an iterator over tables.

Returns an optional reference to the table.

Returns an optional mutable reference to the table.

Appends a table to the array.

Removes a table with the given index.

Removes all the tables.

Returns the length of the underlying Vec. To get the actual number of items use a.iter().count().

Returns true iff self.len() == 0.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.