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]

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

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

Returns an iterator over all values.

Appends a new value.

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

Removes the value at the given index.

Auto formats the array.

Trait Implementations

impl Display for Array
[src]

Formats the value using the given formatter. Read more

impl From<Array> for Value
[src]

Performs the conversion.

impl Debug for Array
[src]

Formats the value using the given formatter. Read more

impl Default for Array
[src]

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

impl Clone for Array
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Array

impl Sync for Array