Returns an iterator over the fields and type ids in this [`UnionFields`]
(&self)
| 553 | |
| 554 | /// Returns an iterator over the fields and type ids in this [`UnionFields`] |
| 555 | pub fn iter(&self) -> impl Iterator<Item = (i8, &FieldRef)> + '_ { |
| 556 | self.0.iter().map(|(id, f)| (*id, f)) |
| 557 | } |
| 558 | |
| 559 | /// Returns a reference to the field at the given index, or `None` if out of bounds. |
| 560 | /// |
no outgoing calls