Returns an iterator to this stack that iterates through the items in LIFO order.
(&self)
| 25 | |
| 26 | /// Returns an iterator to this stack that iterates through the items in LIFO order. |
| 27 | pub fn iter(&self) -> Iter<'_, T> { |
| 28 | self.ll.iter() |
| 29 | } |
| 30 | |
| 31 | pub fn len(&self) -> usize { |
| 32 | self.ll.len() |
no outgoing calls