pub struct FieldMap {
pub fields: IndexMap<TagU32, Field>,
pub groups: IndexMap<TagU32, Vec<RepeatingGroup>>,
}Fields§
§fields: IndexMap<TagU32, Field>§groups: IndexMap<TagU32, Vec<RepeatingGroup>>Implementations§
Source§impl FieldMap
impl FieldMap
pub fn insert(&mut self, field: Field)
pub fn set_groups(&mut self, start_tag: TagU32, groups: Vec<RepeatingGroup>)
pub fn get_raw(&self, tag: TagU32) -> Option<&[u8]>
pub fn get_group( &self, start_tag: TagU32, index: usize, ) -> Option<&RepeatingGroup>
pub fn calculate_length(&self, skip: &[TagU32]) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldMap
impl RefUnwindSafe for FieldMap
impl Send for FieldMap
impl Sync for FieldMap
impl Unpin for FieldMap
impl UnwindSafe for FieldMap
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more