pub type ObjectIter<'a> = Box<dyn Iterator<Item = (&'a ObjectKey, &'a ObjectValue)> + 'a>;
Expand description
An iterator over the entries of an Object
.
Values of this type are created by the iter
method on Object
. See its documentation for
more.
struct ObjectIter<'a>(/* private fields */);
Returns a reference to the object’s
Decor
.
Returns a mutable reference to the object’s
Decor
.
Decorate the object with decor
in-place.
Decorate the object with decor
and return the modified value.
The resulting type after dereferencing.
Dereferences the value.
Obtains the span information. This only returns
Some
if the value was emitted by the
parser.
Read more