Enum toml_edit::Item [−][src]
pub enum Item {
None,
Value(Value),
Table(Table),
ArrayOfTables(ArrayOfTables),
}
Expand description
Type representing either a value, a table, an array of tables, or none.
Variants
Type representing none.
Value(Value)
Type representing value.
Tuple Fields of Value
0: Value
Table(Table)
Type representing table.
Tuple Fields of Table
0: Table
ArrayOfTables(ArrayOfTables)
Type representing array of tables.
Tuple Fields of ArrayOfTables
Implementations
Downcasting
Casts self
to array of tables.
Casts self
to mutable value.
Casts self
to mutable table.
Casts self
to mutable array of tables.
Casts self
to value.
In-place convert to a value
Casts self
to table.
Casts self
to array of tables.
Returns true iff self
is an array of tables.
Casts self
to integer.
Returns true iff self
is an integer.
Casts self
to date-time.
Returns true iff self
is a date-time.
Casts self
to mutable array.
Casts self
to inline table.
Casts self
to mutable inline table.
Returns true iff self
is an inline table.
Casts self
to either a table or an inline table.
Casts self
to either a table or an inline table.
Returns true iff self
is either a table, or an inline table.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Item
impl UnwindSafe for Item
Blanket Implementations
Mutably borrows from an owned value. Read more