Struct toml_edit::Array [] [src]

pub struct Array { /* fields omitted */ }

Type representing a TOML array, payload of the Value::Array variant's value

Methods

impl Array
[src]

[src]

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

[src]

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

[src]

Returns an iterator over all values.

[src]

Appends a new value.

[src]

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

[src]

Removes the value at the given index.

[src]

Auto formats the array.

Trait Implementations

impl Debug for Array
[src]

[src]

Formats the value using the given formatter.

impl Default for Array
[src]

[src]

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

impl Clone for Array
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for Array
[src]

[src]

Formats the value using the given formatter. Read more