Any field can be the first token (unordered multi-field modes).
(self)
| 18 | impl FieldParseMode { |
| 19 | /// Any field can be the first token (unordered multi-field modes). |
| 20 | pub fn any_field_can_start(self) -> bool { |
| 21 | matches!(self, Self::AllMustOccur | Self::OneMustOccur) |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | #[derive(Debug, Default, FromAttributes)] |