pub struct OffsetExtractionRule {
pub tag_id: u16,
pub offset_field: OffsetField,
pub base: OffsetBase,
pub additional_offset: i32,
}
Expand description
Rule for extracting offset from an IFD entry ExifTool: Different tags store offsets in different ways
Fields§
§tag_id: u16
Tag ID this rule applies to ExifTool: Tag number in IFD
offset_field: OffsetField
How to extract the offset from the IFD entry ExifTool: Can be from value offset field or actual value
base: OffsetBase
Base offset for calculations ExifTool: Different manufacturers use different base offsets
additional_offset: i32
Optional additional offset to add ExifTool: Some formats require additional offset adjustments
Trait Implementations§
Source§impl Clone for OffsetExtractionRule
impl Clone for OffsetExtractionRule
Source§fn clone(&self) -> OffsetExtractionRule
fn clone(&self) -> OffsetExtractionRule
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 moreAuto Trait Implementations§
impl Freeze for OffsetExtractionRule
impl RefUnwindSafe for OffsetExtractionRule
impl Send for OffsetExtractionRule
impl Sync for OffsetExtractionRule
impl Unpin for OffsetExtractionRule
impl UnwindSafe for OffsetExtractionRule
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