pub struct SimpleOffsetProcessor { /* private fields */ }
Expand description
Simple offset processor for fixed-offset formats like Kyocera/Minolta ExifTool: Simple formats use fixed offsets from known base positions
Implementations§
Source§impl SimpleOffsetProcessor
impl SimpleOffsetProcessor
Sourcepub fn new(base_offset: u64) -> Self
pub fn new(base_offset: u64) -> Self
Create new simple offset processor ExifTool: Initialize with base offset
Sourcepub fn calculate_offset(&self, relative_offset: u64) -> u64
pub fn calculate_offset(&self, relative_offset: u64) -> u64
Calculate offset by adding relative offset to base ExifTool: Simple addition for fixed-offset formats
Sourcepub fn set_base_offset(&mut self, base_offset: u64)
pub fn set_base_offset(&mut self, base_offset: u64)
Update base offset ExifTool: Change base position if needed
Sourcepub fn get_base_offset(&self) -> u64
pub fn get_base_offset(&self) -> u64
Get current base offset ExifTool: Get current base position
Auto Trait Implementations§
impl Freeze for SimpleOffsetProcessor
impl RefUnwindSafe for SimpleOffsetProcessor
impl Send for SimpleOffsetProcessor
impl Sync for SimpleOffsetProcessor
impl Unpin for SimpleOffsetProcessor
impl UnwindSafe for SimpleOffsetProcessor
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