pub struct BinaryDataTable {
pub default_format: BinaryDataFormat,
pub first_entry: Option<u32>,
pub groups: HashMap<u8, String>,
pub tags: HashMap<u32, BinaryDataTag>,
pub data_member_tags: Vec<u32>,
pub dependency_order: Vec<u32>,
}
Expand description
Binary data table configuration ExifTool: Tag table with PROCESS_PROC => &ProcessBinaryData
Fields§
§default_format: BinaryDataFormat
Default format for entries (ExifTool: FORMAT key)
first_entry: Option<u32>
Starting index for unknown tag generation (ExifTool: FIRST_ENTRY key)
groups: HashMap<u8, String>
Group hierarchy for tags (ExifTool: GROUPS key)
Tag definitions indexed by position
Tags that are DataMembers and must be extracted first ExifTool: DATAMEMBER => […] array of indices
dependency_order: Vec<u32>
Processing order for tags with dependencies Phase 1: DataMember tags, Phase 2: dependent tags
Implementations§
Source§impl BinaryDataTable
impl BinaryDataTable
Sourcepub fn analyze_dependencies(&mut self)
pub fn analyze_dependencies(&mut self)
Analyze table to identify DataMember dependencies and set processing order ExifTool: Implicit dependency analysis during ProcessBinaryData
Sourcepub fn tag_needs_evaluation(&self, index: u32) -> bool
pub fn tag_needs_evaluation(&self, index: u32) -> bool
Check if a tag needs expression evaluation
Sourcepub fn get_tag_format_spec(&self, index: u32) -> Option<FormatSpec>
pub fn get_tag_format_spec(&self, index: u32) -> Option<FormatSpec>
Get effective format for a tag (format_spec takes precedence)
Trait Implementations§
Source§impl Clone for BinaryDataTable
impl Clone for BinaryDataTable
Source§fn clone(&self) -> BinaryDataTable
fn clone(&self) -> BinaryDataTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BinaryDataTable
impl Debug for BinaryDataTable
Auto Trait Implementations§
impl Freeze for BinaryDataTable
impl RefUnwindSafe for BinaryDataTable
impl Send for BinaryDataTable
impl Sync for BinaryDataTable
impl Unpin for BinaryDataTable
impl UnwindSafe for BinaryDataTable
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