Struct mozjs::conversions::ForOfIteratorGuard[][src]

struct ForOfIteratorGuard<'a> {
    root: &'a mut ForOfIterator,
}
Expand description

Rooting guard for the iterator field of ForOfIterator. Behaves like RootedGuard (roots on creation, unroots on drop), but borrows and allows access to the whole ForOfIterator, so that methods on ForOfIterator can still be used through it.

Fields

root: &'a mut ForOfIterator

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.