pub enum SourcePriority {
Unknown = 10,
MakerNotes = 50,
Gps = 80,
Exif = 100,
}
Expand description
Source priority for tag conflict resolution Higher numbers take precedence over lower numbers ExifTool behavior: Main EXIF tags override MakerNote tags with same ID
Variants§
Unknown = 10
Unknown or unrecognized source (lowest priority)
MakerNotes = 50
MakerNote tags (manufacturer-specific data)
Gps = 80
GPS IFD tags
Exif = 100
Main EXIF tags (highest priority) ExifTool: IFD0, IFD1, ExifIFD, etc.
Implementations§
Source§impl SourcePriority
impl SourcePriority
Sourcepub fn from_namespace(namespace: &str) -> Self
pub fn from_namespace(namespace: &str) -> Self
Get priority for a namespace string Matches ExifTool’s group hierarchy behavior
Trait Implementations§
Source§impl Clone for SourcePriority
impl Clone for SourcePriority
Source§fn clone(&self) -> SourcePriority
fn clone(&self) -> SourcePriority
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 SourcePriority
impl Debug for SourcePriority
Source§impl Ord for SourcePriority
impl Ord for SourcePriority
Source§fn cmp(&self, other: &SourcePriority) -> Ordering
fn cmp(&self, other: &SourcePriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourcePriority
impl PartialEq for SourcePriority
Source§impl PartialOrd for SourcePriority
impl PartialOrd for SourcePriority
impl Copy for SourcePriority
impl Eq for SourcePriority
impl StructuralPartialEq for SourcePriority
Auto Trait Implementations§
impl Freeze for SourcePriority
impl RefUnwindSafe for SourcePriority
impl Send for SourcePriority
impl Sync for SourcePriority
impl Unpin for SourcePriority
impl UnwindSafe for SourcePriority
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