pub enum TagOrCode {
Tag(ExifTag),
Unknown(u16),
}Expand description
Either a recognized ExifTag or a raw u16 tag code that the parser did
not recognize. Yielded by crate::ExifIterEntry::tag and by
crate::ExifEntry::tag.
Variants§
Tag(ExifTag)
Tag is in the recognized ExifTag enum.
Unknown(u16)
Tag is not in ExifTag; raw u16 code is preserved.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TagOrCode
impl<'de> Deserialize<'de> for TagOrCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for TagOrCode
impl Eq for TagOrCode
impl StructuralPartialEq for TagOrCode
Auto Trait Implementations§
impl Freeze for TagOrCode
impl RefUnwindSafe for TagOrCode
impl Send for TagOrCode
impl Sync for TagOrCode
impl Unpin for TagOrCode
impl UnsafeUnpin for TagOrCode
impl UnwindSafe for TagOrCode
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