Skip to main content

Entry

Enum Entry 

Source
#[repr(u16)]
pub enum Entry<'a> {
Show 33 variants VersionId(&'a str), LatitudeRef(LatitudeRef), Latitude(Degrees), LongitudeRef(LongitudeRef), Longitude(Degrees), AltitudeRef(AltitudeRef), Altitude(UnsignedRational), TimeStamp(NaiveTime), Satellites(&'a str), Status(Status), MeasureMode(MeasureMode), Dop(UnsignedRational), SpeedRef(SpeedRef), Speed(UnsignedRational), TrackRef(Direction), Track(UnsignedRational), ImgDirectionRef(Direction), ImgDirection(UnsignedRational), MapDatum(&'a str), DestLatitudeRef(&'a str), DestLatitude(LatitudeRef), DestLongitudeRef(LongitudeRef), DestLongitude(UnsignedRational), DestBearingRef(Direction), DestBearing(UnsignedRational), DestDistanceRef(DistanceRef), DestDistance(UnsignedRational), ProcessingMethod(&'a [u8]), AreaInformation(&'a [u8]), DateStamp(NaiveDate), Differential(Differential), HPositioningError(UnsignedRational), Other { tag: u16, value: Value<'a>, },
}
Expand description

GPS entry

Variants§

§

VersionId(&'a str)

GPS tag version

§

LatitudeRef(LatitudeRef)

North or south latitude

§

Latitude(Degrees)

Latitude

§

LongitudeRef(LongitudeRef)

East or west longitude

§

Longitude(Degrees)

Longitude

§

AltitudeRef(AltitudeRef)

Altitude reference

§

Altitude(UnsignedRational)

Altitude in meters

§

TimeStamp(NaiveTime)

GPS time (atomic clock)

§

Satellites(&'a str)

GPS satellites used for measurement

§

Status(Status)

GPS receiver status

§

MeasureMode(MeasureMode)

GPS measurement mode

§

Dop(UnsignedRational)

Measurement precision (data degree of precision)

§

SpeedRef(SpeedRef)

Speed unit

§

Speed(UnsignedRational)

Speed of GPS receiver

§

TrackRef(Direction)

Reference for direction of movement

§

Track(UnsignedRational)

Direction of movement

§

ImgDirectionRef(Direction)

Reference for direction of image

§

ImgDirection(UnsignedRational)

Direction of image

§

MapDatum(&'a str)

Geodetic survey data used

§

DestLatitudeRef(&'a str)

Reference for latitude of destination

§

DestLatitude(LatitudeRef)

Latitude of destination

§

DestLongitudeRef(LongitudeRef)

Reference for longitude of destination

§

DestLongitude(UnsignedRational)

Longitude of destination

§

DestBearingRef(Direction)

Reference for bearing of destination

§

DestBearing(UnsignedRational)

Bearing of destination

§

DestDistanceRef(DistanceRef)

Reference for distance to destination

§

DestDistance(UnsignedRational)

Distance to destination

§

ProcessingMethod(&'a [u8])

Name of GPS processing method

§

AreaInformation(&'a [u8])

Name of GPS area

§

DateStamp(NaiveDate)

GPS date

§

Differential(Differential)

GPS differential correction

§

HPositioningError(UnsignedRational)

Horizontal positioning error in meters

§

Other

Unknown entry.

Fields

§tag: u16

Tag number.

§value: Value<'a>

Tag value.

Trait Implementations§

Source§

impl<'a> Debug for Entry<'a>

Source§

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

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

impl<'a> Extend<Entry<'a>> for EntryMap<'a>

Source§

fn extend<I: IntoIterator<Item = Entry<'a>>>(&mut self, iter: I)

Extends a collection with the contents of an iterator. Read more
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl<'a> FromIterator<Entry<'a>> for EntryMap<'a>

Source§

fn from_iter<I: IntoIterator<Item = Entry<'a>>>(iter: I) -> Self

Creates a value from an iterator. Read more
Source§

impl<'a> Serialize for Entry<'a>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Entry<'a>

§

impl<'a> RefUnwindSafe for Entry<'a>

§

impl<'a> Send for Entry<'a>

§

impl<'a> Sync for Entry<'a>

§

impl<'a> Unpin for Entry<'a>

§

impl<'a> UnwindSafe for Entry<'a>

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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.