Skip to main content

EntryMap

Struct EntryMap 

Source
pub struct EntryMap<'a> { /* private fields */ }
Expand description

GPS entries

Implementations§

Source§

impl<'a> EntryMap<'a>

Source

pub fn get_version_id(&self) -> Option<&&'a str>

GPS tag version

Source

pub fn get_latitude_ref(&self) -> Option<&LatitudeRef>

North or south latitude

Source

pub fn get_latitude(&self) -> Option<&Degrees>

Latitude

Source

pub fn get_longitude_ref(&self) -> Option<&LongitudeRef>

East or west longitude

Source

pub fn get_longitude(&self) -> Option<&Degrees>

Longitude

Source

pub fn get_altitude_ref(&self) -> Option<&AltitudeRef>

Altitude reference

Source

pub fn get_altitude(&self) -> Option<&UnsignedRational>

Altitude in meters

Source

pub fn get_time_stamp(&self) -> Option<&NaiveTime>

GPS time (atomic clock)

Source

pub fn get_satellites(&self) -> Option<&&'a str>

GPS satellites used for measurement

Source

pub fn get_status(&self) -> Option<&Status>

GPS receiver status

Source

pub fn get_measure_mode(&self) -> Option<&MeasureMode>

GPS measurement mode

Source

pub fn get_dop(&self) -> Option<&UnsignedRational>

Measurement precision (data degree of precision)

Source

pub fn get_speed_ref(&self) -> Option<&SpeedRef>

Speed unit

Source

pub fn get_speed(&self) -> Option<&UnsignedRational>

Speed of GPS receiver

Source

pub fn get_track_ref(&self) -> Option<&Direction>

Reference for direction of movement

Source

pub fn get_track(&self) -> Option<&UnsignedRational>

Direction of movement

Source

pub fn get_img_direction_ref(&self) -> Option<&Direction>

Reference for direction of image

Source

pub fn get_img_direction(&self) -> Option<&UnsignedRational>

Direction of image

Source

pub fn get_map_datum(&self) -> Option<&&'a str>

Geodetic survey data used

Source

pub fn get_dest_latitude_ref(&self) -> Option<&&'a str>

Reference for latitude of destination

Source

pub fn get_dest_latitude(&self) -> Option<&LatitudeRef>

Latitude of destination

Source

pub fn get_dest_longitude_ref(&self) -> Option<&LongitudeRef>

Reference for longitude of destination

Source

pub fn get_dest_longitude(&self) -> Option<&UnsignedRational>

Longitude of destination

Source

pub fn get_dest_bearing_ref(&self) -> Option<&Direction>

Reference for bearing of destination

Source

pub fn get_dest_bearing(&self) -> Option<&UnsignedRational>

Bearing of destination

Source

pub fn get_dest_distance_ref(&self) -> Option<&DistanceRef>

Reference for distance to destination

Source

pub fn get_dest_distance(&self) -> Option<&UnsignedRational>

Distance to destination

Source

pub fn get_processing_method(&self) -> Option<&&'a [u8]>

Name of GPS processing method

Source

pub fn get_area_information(&self) -> Option<&&'a [u8]>

Name of GPS area

Source

pub fn get_date_stamp(&self) -> Option<&NaiveDate>

GPS date

Source

pub fn get_differential(&self) -> Option<&Differential>

GPS differential correction

Source

pub fn get_h_positioning_error(&self) -> Option<&UnsignedRational>

Horizontal positioning error in meters

Source§

impl EntryMap<'_>

Source

pub fn time(&self) -> Option<DateTime<Utc>>

Returns atomic time obtained by GPS receiver.

Source

pub fn latitude(&self) -> Option<f64>

Returns longitude in degrees.

Source

pub fn longitude(&self) -> Option<f64>

Returns longitude in degrees.

Source

pub fn altitude(&self) -> Option<f64>

Returns altitude in meters.

Source

pub fn speed(&self) -> Option<f64>

Returns the speed in km/h.

Source

pub fn movement_direction(&self) -> Option<f64>

Returns movement direction with respect to true north.

Source

pub fn image_direction(&self) -> Option<f64>

Returns image direction with respect to true north.

Source

pub fn destination_direction(&self) -> Option<f64>

Returns destination direction with respect to true north.

Trait Implementations§

Source§

impl Debug for EntryMap<'_>

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 Serialize for EntryMap<'_>

Available on crate feature serde only.
Source§

fn serialize<S>(&self, s: 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 EntryMap<'a>

§

impl<'a> RefUnwindSafe for EntryMap<'a>

§

impl<'a> Send for EntryMap<'a>

§

impl<'a> Sync for EntryMap<'a>

§

impl<'a> Unpin for EntryMap<'a>

§

impl<'a> UnwindSafe for EntryMap<'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.