pub struct Geocoordinates {
pub latitude: f64,
pub longitude: f64,
}
Expand description
Describes a position in the world.
Fields§
§latitude: f64
§longitude: f64
Trait Implementations§
Source§impl Clone for Geocoordinates
impl Clone for Geocoordinates
Source§fn clone(&self) -> Geocoordinates
fn clone(&self) -> Geocoordinates
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Geocoordinates
impl Debug for Geocoordinates
Source§impl From<BasicGeoposition> for Geocoordinates
impl From<BasicGeoposition> for Geocoordinates
Source§fn from(position: BasicGeoposition) -> Self
fn from(position: BasicGeoposition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Geocoordinates
impl RefUnwindSafe for Geocoordinates
impl Send for Geocoordinates
impl Sync for Geocoordinates
impl Unpin for Geocoordinates
impl UnwindSafe for Geocoordinates
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.