pub struct OffsetContext {
pub ifd_start: u64,
pub maker_note_start: u64,
pub current_position: u64,
pub file_size: u64,
}
Expand description
Context for offset calculations ExifTool: Provides reference points for relative offset calculations
Fields§
§ifd_start: u64
Start of current IFD in file ExifTool: IFD base position
maker_note_start: u64
Start of maker note data in file ExifTool: Maker note base position
current_position: u64
Current read position in file ExifTool: Current file position
file_size: u64
Total file size (for bounds checking) ExifTool: File size for validation
Implementations§
Trait Implementations§
Source§impl Clone for OffsetContext
impl Clone for OffsetContext
Source§fn clone(&self) -> OffsetContext
fn clone(&self) -> OffsetContext
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 OffsetContext
impl RefUnwindSafe for OffsetContext
impl Send for OffsetContext
impl Sync for OffsetContext
impl Unpin for OffsetContext
impl UnwindSafe for OffsetContext
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