Enum nom_exif::ExifTag

source ·
pub enum ExifTag {
Show 108 variants Unknown = 65_535, Make = 271, Model = 272, Orientation = 274, ImageWidth = 256, ImageHeight = 257, ISOSpeedRatings = 34_855, ShutterSpeedValue = 37_377, ExposureTime = 33_434, FNumber = 33_437, ExifImageWidth = 40_962, ExifImageHeight = 40_963, DateTimeOriginal = 36_867, CreateDate = 36_868, ModifyDate = 306, OffsetTimeOriginal = 36_881, OffsetTime = 36_880, GPSLatitudeRef = 1, GPSLatitude = 2, GPSLongitudeRef = 3, GPSLongitude = 4, GPSAltitudeRef = 5, GPSAltitude = 6, GPSVersionID = 0, ExifOffset = 34_665, GPSInfo = 34_853, ImageDescription = 270, XResolution = 282, YResolution = 283, ResolutionUnit = 296, Software = 305, HostComputer = 316, WhitePoint = 318, PrimaryChromaticities = 319, YCbCrCoefficients = 529, ReferenceBlackWhite = 532, Copyright = 33_432, ExposureProgram = 34_850, SpectralSensitivity = 34_852, OECF = 34_856, SensitivityType = 34_864, ExifVersion = 36_864, ApertureValue = 37_378, BrightnessValue = 37_379, ExposureBiasValue = 37_380, MaxApertureValue = 37_381, SubjectDistance = 37_382, MeteringMode = 37_383, LightSource = 37_384, Flash = 37_385, FocalLength = 37_386, SubjectArea = 37_396, MakerNote = 37_500, UserComment = 37_510, FlashPixVersion = 40_960, ColorSpace = 40_961, RelatedSoundFile = 40_964, FlashEnergy = 41_483, FocalPlaneXResolution = 41_486, FocalPlaneYResolution = 41_487, FocalPlaneResolutionUnit = 41_488, SubjectLocation = 41_492, ExposureIndex = 41_493, SensingMethod = 41_495, FileSource = 41_728, SceneType = 41_729, CFAPattern = 41_730, CustomRendered = 41_985, ExposureMode = 41_986, WhiteBalanceMode = 41_987, DigitalZoomRatio = 41_988, FocalLengthIn35mmFilm = 41_989, SceneCaptureType = 41_990, GainControl = 41_991, Contrast = 41_992, Saturation = 41_993, Sharpness = 41_994, DeviceSettingDescription = 41_995, SubjectDistanceRange = 41_996, ImageUniqueID = 42_016, LensSpecification = 42_034, LensMake = 42_035, LensModel = 42_036, Gamma = 42_240, GPSTimeStamp = 7, GPSSatellites = 8, GPSStatus = 9, GPSMeasureMode = 10, GPSDOP = 11, GPSSpeedRef = 12, GPSSpeed = 13, GPSTrackRef = 14, GPSTrack = 15, GPSImgDirectionRef = 16, GPSImgDirection = 17, GPSMapDatum = 18, GPSDestLatitudeRef = 19, GPSDestLatitude = 20, GPSDestLongitudeRef = 21, GPSDestLongitude = 22, GPSDestBearingRef = 23, GPSDestBearing = 24, GPSDestDistanceRef = 25, GPSDestDistance = 26, GPSProcessingMethod = 27, GPSAreaInformation = 28, GPSDateStamp = 29, GPSDifferential = 30,
}

Variants§

§

Unknown = 65_535

§

Make = 271

§

Model = 272

§

Orientation = 274

§

ImageWidth = 256

§

ImageHeight = 257

§

ISOSpeedRatings = 34_855

§

ShutterSpeedValue = 37_377

§

ExposureTime = 33_434

§

FNumber = 33_437

§

ExifImageWidth = 40_962

§

ExifImageHeight = 40_963

§

DateTimeOriginal = 36_867

§

CreateDate = 36_868

§

ModifyDate = 306

§

OffsetTimeOriginal = 36_881

§

OffsetTime = 36_880

§

GPSLatitudeRef = 1

§

GPSLatitude = 2

§

GPSLongitudeRef = 3

§

GPSLongitude = 4

§

GPSAltitudeRef = 5

§

GPSAltitude = 6

§

GPSVersionID = 0

§

ExifOffset = 34_665

§

GPSInfo = 34_853

§

ImageDescription = 270

§

XResolution = 282

§

YResolution = 283

§

ResolutionUnit = 296

§

Software = 305

§

HostComputer = 316

§

WhitePoint = 318

§

PrimaryChromaticities = 319

§

YCbCrCoefficients = 529

§

ReferenceBlackWhite = 532

§

Copyright = 33_432

§

ExposureProgram = 34_850

§

SpectralSensitivity = 34_852

§

OECF = 34_856

§

SensitivityType = 34_864

§

ExifVersion = 36_864

§

ApertureValue = 37_378

§

BrightnessValue = 37_379

§

ExposureBiasValue = 37_380

§

MaxApertureValue = 37_381

§

SubjectDistance = 37_382

§

MeteringMode = 37_383

§

LightSource = 37_384

§

Flash = 37_385

§

FocalLength = 37_386

§

SubjectArea = 37_396

§

MakerNote = 37_500

§

UserComment = 37_510

§

FlashPixVersion = 40_960

§

ColorSpace = 40_961

§

RelatedSoundFile = 40_964

§

FlashEnergy = 41_483

§

FocalPlaneXResolution = 41_486

§

FocalPlaneYResolution = 41_487

§

FocalPlaneResolutionUnit = 41_488

§

SubjectLocation = 41_492

§

ExposureIndex = 41_493

§

SensingMethod = 41_495

§

FileSource = 41_728

§

SceneType = 41_729

§

CFAPattern = 41_730

§

CustomRendered = 41_985

§

ExposureMode = 41_986

§

WhiteBalanceMode = 41_987

§

DigitalZoomRatio = 41_988

§

FocalLengthIn35mmFilm = 41_989

§

SceneCaptureType = 41_990

§

GainControl = 41_991

§

Contrast = 41_992

§

Saturation = 41_993

§

Sharpness = 41_994

§

DeviceSettingDescription = 41_995

§

SubjectDistanceRange = 41_996

§

ImageUniqueID = 42_016

§

LensSpecification = 42_034

§

LensMake = 42_035

§

LensModel = 42_036

§

Gamma = 42_240

§

GPSTimeStamp = 7

§

GPSSatellites = 8

§

GPSStatus = 9

§

GPSMeasureMode = 10

§

GPSDOP = 11

§

GPSSpeedRef = 12

§

GPSSpeed = 13

§

GPSTrackRef = 14

§

GPSTrack = 15

§

GPSImgDirectionRef = 16

§

GPSImgDirection = 17

§

GPSMapDatum = 18

§

GPSDestLatitudeRef = 19

§

GPSDestLatitude = 20

§

GPSDestLongitudeRef = 21

§

GPSDestLongitude = 22

§

GPSDestBearingRef = 23

§

GPSDestBearing = 24

§

GPSDestDistanceRef = 25

§

GPSDestDistance = 26

§

GPSProcessingMethod = 27

§

GPSAreaInformation = 28

§

GPSDateStamp = 29

§

GPSDifferential = 30

Trait Implementations§

source§

impl Clone for ExifTag

source§

fn clone(&self) -> ExifTag

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExifTag

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ExifTag

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ExifTag

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for ExifTag

source§

fn eq(&self, other: &ExifTag) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u16> for ExifTag

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(v: u16) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for ExifTag

source§

impl Eq for ExifTag

source§

impl StructuralPartialEq for ExifTag

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.