[−][src]Struct salah::Coordinates
The latitude and longitude associated with a location. Both latiude and longitude values are specified in degrees.
Fields
latitude: f64
longitude: f64
Implementations
impl Coordinates
[src]
impl Coordinates
[src]
pub fn latitude_angle(&self) -> Angle
[src]
pub fn longitude_angle(&self) -> Angle
[src]
Trait Implementations
impl Clone for Coordinates
[src]
pub fn clone(&self) -> Coordinates
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Coordinates
[src]
impl Debug for Coordinates
[src]
impl PartialEq<Coordinates> for Coordinates
[src]
pub fn eq(&self, other: &Coordinates) -> bool
[src]
pub fn ne(&self, other: &Coordinates) -> bool
[src]
impl StructuralPartialEq for Coordinates
[src]
Auto Trait Implementations
impl RefUnwindSafe for Coordinates
[src]
impl Send for Coordinates
[src]
impl Sync for Coordinates
[src]
impl Unpin for Coordinates
[src]
impl UnwindSafe for Coordinates
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,