Struct toml_edit::InlineTable [−][src]
pub struct InlineTable { /* fields omitted */ }
Expand description
Type representing a TOML inline table,
payload of the Value::InlineTable
variant
Implementations
Constructors
See also FromIterator
Formatting
Get key/values for values that are visually children of this table
For example, this will return dotted keys
Sorts the key/value pairs by key.
Change this table’s dotted status
Check if this is a wrapper for dotted keys, rather than a standard table
Returns the decor associated with a given key of the table.
Returns an iterator over key/value pairs.
Returns an iterator over key/value pairs.
Clears the table, removing all key-value pairs. Keeps the allocated memory for reuse.
Gets the given key’s corresponding entry in the Table for in-place manipulation.
Gets the given key’s corresponding entry in the Table for in-place manipulation.
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.
Returns true iff the table contains given key.
Inserts a key/value pair if the table does not contain the key. Returns a mutable reference to the corresponding value.
Inserts a key-value pair into the map.
Inserts a key-value pair into the map.
Trait Implementations
Returns the “default value” for a type. Read more
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Performs the conversion.
Returns an mutable iterator over all key/value pairs, including empty.
Returns an optional reference to an item given the key.
Returns an optional mutable reference to an item given the key.
Returns true iff the table contains an item with the given key.
Inserts a key-value pair into the map.
Get key/values for values that are visually children of this table Read more
Sorts Key/Value Pairs of the table. Read more
Change this table’s dotted status
Check if this is a wrapper for dotted keys, rather than a standard table
Returns the decor associated with a given key of the table.
Returns the decor associated with a given key of the table.
Auto Trait Implementations
impl RefUnwindSafe for InlineTable
impl Send for InlineTable
impl Sync for InlineTable
impl Unpin for InlineTable
impl UnwindSafe for InlineTable
Blanket Implementations
Mutably borrows from an owned value. Read more