Type Alias hcl_edit::expr::ObjectIterMut

source ·
pub type ObjectIterMut<'a> = Box<dyn Iterator<Item = (ObjectKeyMut<'a>, &'a mut ObjectValue)> + 'a>;
Expand description

A mutable iterator over the entries of an Object.

Values of this type are created by the iter_mut method on Object. See its documentation for more.

Aliased Type§

struct ObjectIterMut<'a>(/* private fields */);

Trait Implementations§

source§

impl<T> Decorate for Box<T>where T: Decorate,

source§

fn decor(&self) -> &Decor

Returns a reference to the object’s Decor.
source§

fn decor_mut(&mut self) -> &mut Decor

Returns a mutable reference to the object’s Decor.
source§

fn decorate(&mut self, decor: impl Into<Decor>)

Decorate the object with decor in-place.
source§

fn decorated(self, decor: impl Into<Decor>) -> Selfwhere Self: Sized,

Decorate the object with decor and return the modified value.
1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.
source§

impl<T> Span for Box<T>where T: Span,

source§

fn span(&self) -> Option<Range<usize>>

Obtains the span information. This only returns Some if the value was emitted by the parser. Read more