Skip to content

Std collections stack iterator

std:std.collections.Stack.Iterator

Struct Iterator#

The Stack.Iterator struct.

Properties
AtEnd Checks if the iterator has reached the end of the stack. (read only)
Current The value currently pointed to by the iterator.
Methods
Bump Bumps the iterator so it points to the next value in the stack.
Erase Safely erases the value pointed to by the iterator.
Insert Safely inserts a value before the value pointed to by the iterator.