pub type BoxedIter<'a, T> = Box<dyn _IterTrait<'a, T> + 'a>;
Expand description
Type alias for boxed _IterTrait
trait objects.
Prefer BoxedIter
over impl _IterTrait
when using trait objects ( dyn _IterTrait
) because the concrete type in return is less restrictive than impl _IterTrait
.
Aliased Typeยง
pub struct BoxedIter<'a, T>(/* private fields */);