Struct external_set::ExternalSetReadGuard [] [src]

pub struct ExternalSetReadGuard<'c, T: 'c>(_);

RAII structure used to iterate over the items in a ExternalSet, and unlock the collection when dropped.

Methods

impl<'c, T> ExternalSetReadGuard<'c, T>
[src]

Iterate over references to items in the ExternalSet.

The order of iteration is unspecified.

Iterate over references to items in the ExternalSet, excluding the one owned by the provided ItemOwner.

If the provided ItemOwner is not in the collection (e.g. it was inserted into another collection), all items will be yielded by the iterator.

The order of iteration is unspecified.