pub struct GPSInfo {
pub latitude_ref: LatRef,
pub latitude: LatLng,
pub longitude_ref: LonRef,
pub longitude: LatLng,
pub altitude: Altitude,
pub speed: Option<Speed>,
}Expand description
Parsed GPS information from the GPSInfo subIFD.
Fields§
§latitude_ref: LatRef§latitude: LatLng§longitude_ref: LonRef§longitude: LatLng§altitude: Altitude§speed: Option<Speed>Implementations§
Source§impl GPSInfo
impl GPSInfo
Sourcepub fn latitude_decimal(&self) -> Option<f64>
pub fn latitude_decimal(&self) -> Option<f64>
Latitude in decimal degrees, signed by latitude_ref (positive = north).
Sourcepub fn longitude_decimal(&self) -> Option<f64>
pub fn longitude_decimal(&self) -> Option<f64>
Longitude in decimal degrees, signed by longitude_ref (positive = east).
Sourcepub fn altitude_meters(&self) -> Option<f64>
pub fn altitude_meters(&self) -> Option<f64>
Signed altitude in meters; None if altitude is Unknown or denominator=0.
Sourcepub fn to_iso6709(&self) -> String
pub fn to_iso6709(&self) -> String
Returns an ISO 6709 geographic point location string such as
+48.8577+002.295/.
Trait Implementations§
impl Eq for GPSInfo
impl StructuralPartialEq for GPSInfo
Auto Trait Implementations§
impl Freeze for GPSInfo
impl RefUnwindSafe for GPSInfo
impl Send for GPSInfo
impl Sync for GPSInfo
impl Unpin for GPSInfo
impl UnsafeUnpin for GPSInfo
impl UnwindSafe for GPSInfo
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