pub struct Hints {
pub current_field_index: Option<FieldIndex>,
pub known_field_lengths: HashMap<FieldIndex, FieldLength>,
}
Expand description
Hints given when reading parcels.
Fields§
§current_field_index: Option<FieldIndex>
§known_field_lengths: HashMap<FieldIndex, FieldLength>
The fields for which a length prefix was already present earlier in the layout.
Implementations§
source§impl Hints
impl Hints
sourcepub fn current_field_length(&self) -> Option<FieldLength>
pub fn current_field_length(&self) -> Option<FieldLength>
Gets the length of the field currently being read, if known.